From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 7 05:04:33 2008 Return-Path: Delivered-To: eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5FB416A417 for ; Mon, 7 Jan 2008 05:04:33 +0000 (UTC) (envelope-from dan@rucci.org) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 9301F13C467 for ; Mon, 7 Jan 2008 05:04:33 +0000 (UTC) (envelope-from dan@rucci.org) Received: from izer.warganizer.com (ool-182dc652.dyn.optonline.net [24.45.198.82]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JU9005C3BDKBPJ0@mta2.srv.hcvlny.cv.net> for eclipse@freebsd.org; Sun, 06 Jan 2008 23:34:33 -0500 (EST) Date: Sun, 06 Jan 2008 23:34:32 -0500 From: Daniel Rucci In-reply-to: <1197875100.1414.10.camel@localhost> To: vova@fbsd.ru Message-id: <4781ABD8.5020309@rucci.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <1197875100.1414.10.camel@localhost> User-Agent: Thunderbird 2.0.0.9 (X11/20071116) Cc: eclipse@freebsd.org Subject: Re: eclipse-cdt failed to install if SU_CMD=sudo X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 05:04:33 -0000 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