Vladimir Grebenschikov wrote:
Hi

I have a trouble with installing eclipse-cdt with
SU_CMD=sudo
(SHELL=/bin/tcsh if it does matter)

/usr/ports/java/eclipse-cdt# id uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),20(staff)
/usr/ports/java/eclipse-cdt# make install
===>  Installing for eclipse-cdt-3.1.2_1
===>   eclipse-cdt-3.1.2_1 depends on file: /usr/local/eclipse - found
===>   eclipse-cdt-3.1.2_1 depends on file: /usr/local/jdk1.5.0/bin/java - found
sudo "/bin/chmod -R go-w /usr/ports/java/eclipse-cdt/work"
sudo: /bin/chmod -R go-w /usr/ports/java/eclipse-cdt/work: command not found
*** Error code 1

Stop in /usr/ports/java/eclipse-cdt.
/usr/ports/java/eclipse-cdt# make -V SU_CMD
sudo
/usr/ports/java/eclipse-cdt#

No such problem occurred with any other ports.

But it is installed ok with SU_CMD='/usr/bin/su root -c'

/usr/ports/java/eclipse-cdt# make install SU_CMD='/usr/bin/su root -c'
===>  Installing for eclipse-cdt-3.1.2_1
===>   eclipse-cdt-3.1.2_1 depends on file: /usr/local/eclipse - found
===>   eclipse-cdt-3.1.2_1 depends on file: /usr/local/jdk1.5.0/bin/java - found
/usr/bin/su root -c "/bin/chmod -R go-w /usr/ports/java/eclipse-cdt/work"
/usr/bin/su root -c "/usr/sbin/chown -R 0:0 /usr/ports/java/eclipse-cdt/work"
===>   Generating temporary packing list
===>  Checking if java/eclipse-cdt already installed
cd /usr/ports/java/eclipse-cdt/work && install  -o root -g wheel -m 444 
eclipse/plugins/org.eclipse.cdt.core_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.debug.core_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.debug.mi.core_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.debug.mi.ui_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.debug.ui_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.doc.isv_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.doc.user_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.launch_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.make.core_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.make.ui_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.managedbuilder.core_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.managedbuilder.ui_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.ref
a!
 ctoring_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.sdk_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt.ui_3.1.2.200702150621.jar  
eclipse/plugins/org.eclipse.cdt_3.1.2.200702150621.jar 
/usr/local/eclipse/plugins
cd /usr/ports/java/eclipse-cdt/work && /usr/bin/find 
eclipse/features/org.eclipse.cdt_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core.freebsd_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source.linux.gtk.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source_3.1.2.200702150621  -type f -not -name '*.o' -print0 | 
/usr/bin/xargs -0 /usr/bin/tar -cf - | ( cd /usr/local && /usr/bin/tar -xf - )
cd /usr/ports/java/eclipse-cdt/work && /usr/bin/find -d 
eclipse/features/org.eclipse.cdt_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core.freebsd_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source.linux.gtk.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source_3.1.2.200702150621  -type f -not -name '*.o' -print 
>> /usr/ports/java/eclipse-cdt/work/.PLIST.mktmp
cd /usr/ports/java/eclipse-cdt/work && /usr/bin/find -d 
eclipse/features/org.eclipse.cdt_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core.freebsd_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.core_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source.linux.gtk.x86_3.1.2.200702150621  
eclipse/plugins/org.eclipse.cdt.source_3.1.2.200702150621  -type d -not -name '*.o' -print0 | 
/usr/bin/xargs -0 printf '@dirrm %s\n' >> /usr/ports/java/eclipse-cdt/work/.PLIST.mktmp
===>   Registering installation for eclipse-cdt-3.1.2_1
/usr/ports/java/eclipse-cdt#

Any hints will be appreciated.
Doesn't really solve your problem but if you install java/eclipse-devel You can install a newer version of cdt (4.x). http://www.eclipse.org/cdt/ .. I haven't used it extensively so i cannot say whether or not it _requires_ freebsd specific patches .. But its certainly better then the version in ports..

Dan


_______________________________________________
freebsd-eclipse@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to