Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108838 - systray4j can't find jni.h during compile even though it's available
Summary: systray4j can't find jni.h during compile even though it's available
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 02:12 UTC by Triffid Hunter
Modified: 2005-10-11 04:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Triffid Hunter 2005-10-11 02:12:46 UTC
>>> Source unpacked.
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/sun-jre-bin-1.5.0.04/include -I/
opt/sun-jre-bin-1.5.0.04/include/linux systray4j.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/sun-jre-bin-1.5.0.04/include -I/
opt/sun-jre-bin-1.5.0.04/include/linux st4jevent.cpp
g++ -Wall -fPIC -c -I/usr/kde/3.4/include -I/usr/qt/3/include -I/opt/sun-jre-
bin-1.5.0.04/include -I/opt/sun-jre-bin-1.5.0.04/include/linux systraymanager.
cpp
/usr/qt/3/bin/moc systraymanager.h -o systraymanager.moc.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/sun-jre-bin-1.5.0.04/include -I/
opt/sun-jre-bin-1.5.0.04/include/linux menubase.cpp
/usr/qt/3/bin/moc menubase.h -o menubase.moc.cpp
g++ -Wall -fPIC -c -I/usr/kde/3.4/include -I/usr/qt/3/include -I/opt/sun-jre-
bin-1.5.0.04/include -I/opt/sun-jre-bin-1.5.0.04/include/linux systraymenu.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/sun-jre-bin-1.5.0.04/include -I/
opt/sun-jre-bin-1.5.0.04/include/linux submenu.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/sun-jre-bin-1.5.0.04/include -I/
opt/sun-jre-bin-1.5.0.04/include/linux menubase.moc.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/sun-jre-bin-1.5.0.04/include -I/
opt/sun-jre-bin-1.5.0.04/include/linux systraymanager.moc.cpp
distcc[27696] ERROR: compile (null) on localhost failed
In file included from st4jevent.cpp:18:
st4jevent.h:21:17: jni.h: No such file or directory
distcc[27699] ERROR: compile (null) on localhost failed
distcc[27694] ERROR: compile (null) on localhost failed
In file included from menubase.cpp:18:
menubase.h:21:17: jni.h: No such file or directory
distcc[27695] ERROR: compile (null) on localhost failed
distcc[27691] ERROR: compile st4jevent.cpp on anteline failed
make: *** [st4jevent.o] Error 1
make: *** Waiting for unfinished jobs....

# emerge -pv systray4j

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-java/systray4j-2.4  -arts* -debug -jikes +kdeenablefinal -
xinerama 0 kB

Total size of downloads: 0 kB


# equery b jni.h
[ Searching for file(s) jni.h in *... ]
dev-java/sun-jdk-1.4.2.09 (/opt/sun-jdk-1.4.2.09/include/jni.h)
net-libs/gecko-sdk-1.7.8 (/usr/lib/gecko-sdk/include/jni.h)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.53_rc4 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-
gentoo-r3-lucienne i686)
=================================================================
System uname: 2.6.13-gentoo-r3-lucienne i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/pub/gentoo/ http://mirror.aarnet.edu.
au/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.wa.3fl.net/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext S3TC X X509 Xaw3d a52 aac acpi adns alsa apm 
athena audiofile avi bash-completion berkdb big-tables bitmap-fonts bmp 
browserplugin bzip2 bzlib caps cdda cddb cdio cdparanoia cdr cdrom cpudetection 
crypt cscope css cups curl custom-cflags dba dga directfb divx4linux dnd dts dv 
dvb dvd dvdr dvdread emboss encode erandom exif expat extensions faad fam fame 
ffmpeg flac foomaticdb fping ftp gd-external gdbm ggi gif gimp gimpprint glibc-
omitfp gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 guile hpn ieee1394 
imagemagick imlib inifile ipv6 jack-tmpfs java jbig jce jpeg jpeg2k kde 
kdeenablefinal kdexdeltas kqemu ladcca libg++ libwww linuxthreads-tls lirc live 
lm_sensors logitech-mouse lzo mad mailwrapper mapeditor md5sum memlimit mhash 
mikmod mime mjpeg mmap mmx mmxext mng motif mozdevelop mozsvg mozxmlterm mp3 
mpeg mplayer mysql mysqli mythtv ncurses network nls nodrm nptl nsplugin nvidia 
offensive ogg oggvorbis on-the-fly-crypt openexr opengl pam pam_chroot 
pam_console pam_timestamp pcre pdflib perl perlsuid php physfs png posix povray 
ppds pvm python qt quicktime rar rdesktop readline real rtc ruby samba scanner 
screen sdl session sharedext sharedmem silc slp soap sockets socks5 speex sql 
sse ssl stream subtitles subversion svg sysfs tcltk tcpd tetex theora threads 
tiff timidity tokenizer toolbar truetype truetype-fonts type1-fonts ucs2 unicode 
urandom usb userlocales utf8 v4l v4l2 vcd vhosts vim-with-x visualization vlm 
vorbis wifi win32codecs winbind wmf wozxmlterm wxgtk1 xanim xine xml xml2 xmlrpc 
xmms xosd xprint xrandr xsl xv xvid xvmc yv12 zeroconf zip zlib zvbi 
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Triffid Hunter 2005-10-11 04:17:51 UTC
looks like sun-jre-bin-1.5.0.04 doesn't come with it..
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-10-11 04:55:23 UTC
You need a jdk as system-vm

java-config -S sun-jdk