[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: failed building eclipse on powerpc



Jan Schulz wrote:
* I wrote:

# fakeroot debian/rules build
-> check what's in /source-tree. There should now be the icon.xpm
Hm, I'm not totally sure, what's happening here, but this seems like
a bug somewhere... If icon.xpm isn't there, please do a cd source-tree; cp plugins/platform-launcher/bin/linux/gtk/icon.xpm ./
(This should have been done by ant...)
>
I had a closer look at the build.xml and I think that this icon
*should* never go missing :( Ant will copy the complete
plugins/platform-launcher/bin/linux/gtk/ dir (in there is a
precompiled eclipse-bin and the icon). Could you please do a
# fakeroot debian/rules clean
# fakeroot debian/rules uncompress
# find . -name icon.xpm
-> should find two icon.xpm, one in a motif one in a gtk dir.
Also, please do a # fakeroot debian/rules build-java-stamp # ls source-tree
-> eclipse and icon.xpm should be in there.

OK, everything is OK

If the icon.xpm is not copied, I will change the way copying is
done. Should anyway happen, as the precompiled laucher is not used
but overwritten by a newly compiled one.

But now I got this:

arnaud@debian:~/debian/other/eclipse-2.1$ fakeroot debian/rules build
dh_testdir
# Add here commands to compile the package.
(bash debian/compile_java.sh &>log)
touch build-java-stamp
bash debian/build-native.sh
Converting files from DOS to UNIX format:
    callback.c
    callback.h
    gnome.c
    structs.c
    structs.h
    swt.c
    swt.h
make[1]: Entering directory `/archives/debian/other/eclipse-2.1/tmp'
gcc -c -O -s -DSWT_VERSION=2133 -DLINUX -DGTK `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` -I/bluebird/teamswt/swt-builddir/ive/bin/include -I/bluebird/teamswt/swt-builddir/ive/bin/include/linux callback.c
In file included from swt.h:23,
                 from callback.c:15:
/usr/include/jni.h:17:31: gcj/libgcj-config.h: No such file or directory
make[1]: *** [callback.o] Error 1
make[1]: Leaving directory `/archives/debian/other/eclipse-2.1/tmp'
cp: cannot stat `tmp/*.so': No such file or directory
make[1]: Entering directory `/archives/debian/other/eclipse-2.1/tmp'
gcc -fPIC -g -c -I/usr/lib/j2se/1.3/include -I/usr/lib/j2se/1.3/include/linux core.c -o core.o
gcc -g -shared -o libcore_2_1_0a.so core.o -lc
make[1]: Leaving directory `/archives/debian/other/eclipse-2.1/tmp'
Building Linux launcher. Defaults: -os linux -arch x86 -ws motif
make[1]: Entering directory `/archives/debian/other/eclipse-2.1/source-tree/plugins/platform-launcher/library/motif' rm -f eclipse eclipse.o eclipseUtil.o eclipseMotif.o NgCommon.o NgImage.o NgImageData.o NgWinBMPFileFormat.o make[1]: Leaving directory `/archives/debian/other/eclipse-2.1/source-tree/plugins/platform-launcher/library/motif' make[1]: Entering directory `/archives/debian/other/eclipse-2.1/source-tree/plugins/platform-launcher/library/motif' cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c ../eclipse.c -o eclipse.o cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c ../eclipseUtil.c -o eclipseUtil.o cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c eclipseMotif.c -o eclipseMotif.o cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c NgCommon.c -o NgCommon.o cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c NgImage.c -o NgImage.o cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c NgImageData.c -o NgImageData.o cc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"motif\"" -fPIC -I./ -I../ -I/bluebird/teamswt/swt-builddir/motif21/include -I/usr/X11R6/include -c NgWinBMPFileFormat.c -o NgWinBMPFileFormat.o cc -o eclipse eclipse.o eclipseUtil.o eclipseMotif.o NgCommon.o NgImage.o NgImageData.o NgWinBMPFileFormat.o -Xlinker -rpath -Xlinker . -L/bluebird/teamswt/swt-builddir/motif21/lib -L/usr/X11R6/lib -lXm -lXt -lX11 make[1]: Leaving directory `/archives/debian/other/eclipse-2.1/source-tree/plugins/platform-launcher/library/motif'
touch build-native-stamp


So... what is this?
/usr/include/jni.h:17:31: gcj/libgcj-config.h: No such file or directory

And how can I go throw? Install another package?

Also:
1) I thought the Eclipse package was build with gtk, not motif (see above);
2) Is it possible to pass a different architecture to 'cc' or is it not relevant? Why -DDEFAULT_OS_ARCH="\"x86\"" on my ppc? :-)

Many thanks for your help...

--    ,_     |  _  |_  ,_  _
  (||`||(|L|(| (\) ||()|||(/_
                ~~
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

For ascii arts, see http://www.schnoggo.com/figlet.html



Reply to: