Bug 87015 - irrlicht-0.10.0.ebuild (Update)
|
Bug#:
87015
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: tmurray-gentoo@wumpus-cave.net
|
|
Component: Games
|
|
|
URL:
|
|
Summary: irrlicht-0.10.0.ebuild (Update)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-03-28 12:17 0000
|
Irrlicht is now at version 0.9. Attaching an ebuild for the updated version
(simply bumped the version number). I'm not sure if the patches noted in the
ebuild are still needed--they are commented out of the ebuild.
It compiles some of the library, but then fails with:
make -C jpeglib -f makefile.ansi libjpeg.a
make[1]: Entering directory `/usr/include'
make[1]: makefile.ansi: No such file or directory
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
make[1]: *** No rule to make target `makefile.ansi'. Stop.
make[1]: Leaving directory `/usr/include'
make: *** [all] Error 2
make: Leaving directory
`/var/tmp/portage/irrlicht-0.9/work/irrlicht-0.9/source/Irrlicht'
Afraid I don't know enough about ebuilds yet to fix this.
New version gives me a new error message, at least :)
make -C jpeglib -f makefile.ansi libjpeg.a
make: *** jpeglib: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/irrlicht-0.9/work/irrlicht-0.9/source/Irrlicht'
*** Bug 87235 has been marked as a duplicate of this bug. ***
Latest ebuild works for me. Compiles fine and I can run the "Hello World"
program out of the Irrlicht examples.
With the latest patch, I get:
----
g++ -c CVideoOpenGL.cpp -o CVideoOpenGL.o -O2 -march=i686 -pipe -fomit-frame-pointer -I"include/" -DIRRLICHT_EXPORTS=1
CVideoOpenGL.cpp: In member function `void
irr::video::CVideoOpenGL::loadExtensions()':
CVideoOpenGL.cpp:346: error: `glXGetProcAddressARB' undeclared (first use this
function)
CVideoOpenGL.cpp:346: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make: *** [CVideoOpenGL.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/irrlicht-0.9/work/irrlicht-0.9/source/Irrlicht'
----
using the eBuild called 'Fixed ebuild' and the 'patch for use with above
e-build' file (and, of course, the '0.7.1-system-libs.patch' of the
0.7.1.ebuild, I am able to compile irrlicht-0.9 - started the Demo-App. and it
works fine for me...
tested on NVidia GeForce3 (128 MB) with the latest unstable (~x86) nvidia
drivers...
Portage 2.0.51.22 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.8
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r8
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="~x86 x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd
dvdread dxr3 eds emboss encode escreen esd etwin fam flac foomaticdb fortran
freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jpeg
kde ldap libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses
nls nptl nptlonly nvidia odbc ogg oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline samba sdl slang speex spell sqlite sse ssl
svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts vidix vorbis
win32codecs xine xml2 xmms xv xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
*** Bug 94534 has been marked as a duplicate of this bug. ***
Not really. That ebuild continues to use the zlib and jpeglib that are
included
in the irrlicht source. We don't want that. We want it to link against the
system zlib and jpeglib.
0.10.0 is now in portage, give it a spin
file a new bug for any issues you encounter
@Mr.Bones: that's not true - we are building against the system libs.!
If you have read the posting (see URL) on the irrlicht-forum carefully, you
would have noticed that we have *MODIFIED* the Engine (especially the OpenGL
Part) and, of course, any other problems related to the Linux build. So the
source has also been patched to use the system libs and we use our own Makefile,
so there is no need to take care of them in the eBuild. Just to clarify!
oh. I thought you were a irrlicht dev. A modified source for irrlicht isn't
relevent to this bug. The gentoo ebuild uses the official upstream source for
irrlicht.