From owner-freebsd-java@FreeBSD.ORG Fri Dec 1 11:54:11 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9692F16A64C for ; Fri, 1 Dec 2006 11:54:11 +0000 (UTC) (envelope-from spap13@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB5443CC2 for ; Fri, 1 Dec 2006 11:53:47 +0000 (GMT) (envelope-from spap13@googlemail.com) Received: by nf-out-0910.google.com with SMTP id x37so3344901nfc for ; Fri, 01 Dec 2006 03:54:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=SJJubXs50OVCZnCZJyqDNQv+dO7EBjtn73XPcmeRKYtQ7zrdPTzpCqrhsMjzGLUtv9dysAWTzb+444E2quoAfBO44rWiYgeyb4Q8yiD7VdYHFbwhIFFwnaFEmtc/P1x7ohu/IEMx1ofTYi8vivjZqbhv9oK5JKWsFDDxPs36bIs= Received: by 10.49.92.18 with SMTP id u18mr9125098nfl.1164974040458; Fri, 01 Dec 2006 03:54:00 -0800 (PST) Received: by 10.49.23.19 with HTTP; Fri, 1 Dec 2006 03:54:00 -0800 (PST) Message-ID: Date: Fri, 1 Dec 2006 11:54:00 +0000 From: "Spiros Papadopoulos" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Failing to install X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 11:54:11 -0000 Hi all, I am trying to install eclipse 3.2.1 from the ports (/usr/ports/java/eclipse) This is the output from uname -a: FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue Nov 28 19:21:05 GMT 2006 CUSTOM_KERNEL i386 which i recently upgraded from 5.4 (i had some trouble for some days but now everything seems to work normally) diablo-jdk-1.5.0_07-b01 is installed. the eclipse installation is failing with the following error: ...................... ...................... [exec] xpcom_profile.cpp:45: error: (Each undeclared identifier is reported only once for each function it appears in.) [exec] xpcom_profile.cpp:45: error: `NS_NewProfileDirServiceProvide r' undeclared (first use this function) [exec] xpcom_profile.cpp:45: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp:45: error: expected `;' before "NS_NewProfileDirServiceProvide r" [exec] xpcom_profile.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1Register(JNIEnv*, _jclass*, jint)': [exec] xpcom_profile.cpp:59: error: `nsProfileDirServiceProvider' undeclared (first use this function) [exec] xpcom_profile.cpp:59: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp:59: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp: In function `jint Java_org_eclipse_swt_internal _mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1SetProfileDir(JNIEnv*, _jclass*, jint, jint)': [exec] xpcom_profile.cpp:71: error: `nsProfileDirServiceProvider' undeclared (first use this function) [exec] xpcom_profile.cpp:71: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp:71: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp:71: error: `nsIFile' undeclared (first use this function) [exec] xpcom_profile.cpp:71: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1Shutdown(JNIEnv*, _jclass*, jint)': [exec] xpcom_profile.cpp:83: error: `nsProfileDirServiceProvider' undeclared (first use this function) [exec] xpcom_profile.cpp:83: error: expected primary-expression before ')' token [exec] xpcom_profile.cpp:83: error: expected primary-expression before ')' token BUILD FAILED /usr/ports/java/eclipse/work /build.xml:76: exec returned: 1 Total time: 64 minutes 34 seconds *** Error code 1 Stop in /usr/ports/java/eclipse. In line 76 of the build.xml file it tries to execute a build.sh script in ~/work/swttmp The build.sh was not executable, so i chmod it to be. Same failure. Any ideas?? Thanks in advance Spiros P.