Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87015 - irrlicht-0.10.0.ebuild (Update)
Summary: irrlicht-0.10.0.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 94534 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-28 12:17 UTC by Timm Murray
Modified: 2005-06-09 08:04 UTC (History)
4 users (show)

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


Attachments
irrlicht-0.9.ebuild (Update (irrlicht-0.9.ebuild,1.42 KB, text/plain)
2005-03-28 12:19 UTC, Timm Murray
Details
irrlicht-0.9.ebuild (irrlicht-0.9.ebuild,1.35 KB, text/plain)
2005-03-28 22:12 UTC, SpanKY
Details
irrlicht-0.9.ebuild (irrlicht-0.9.ebuild,1.39 KB, text/plain)
2005-03-29 15:27 UTC, SpanKY
Details
Fixed ebuild (irrlicht-0.9.ebuild,1.31 KB, text/plain)
2005-04-10 03:38 UTC, Chris Statzer
Details
patch for use with above e-build (0.9-CVideoOpenGL.patch,740 bytes, patch)
2005-04-10 03:39 UTC, Chris Statzer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timm Murray 2005-03-28 12:17:54 UTC
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.
Comment 1 Timm Murray 2005-03-28 12:19:30 UTC
Created attachment 54710 [details]
irrlicht-0.9.ebuild (Update
Comment 2 SpanKY gentoo-dev 2005-03-28 22:12:06 UTC
Created attachment 54739 [details]
irrlicht-0.9.ebuild

i cant get this version to not blow-up when using nvidia-glx so i'll just post
the ebuild for someone else to play with ;)
Comment 3 Timm Murray 2005-03-29 06:24:42 UTC
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'
Comment 4 SpanKY gentoo-dev 2005-03-29 15:27:51 UTC
Created attachment 54799 [details]
irrlicht-0.9.ebuild

needed the system libs patch too
Comment 5 SpanKY gentoo-dev 2005-03-30 07:29:50 UTC
*** Bug 87235 has been marked as a duplicate of this bug. ***
Comment 6 Timm Murray 2005-03-30 09:05:54 UTC
Latest ebuild works for me. Compiles fine and I can run the "Hello World" program out of the Irrlicht examples.
Comment 7 Chris Statzer 2005-04-10 03:38:40 UTC
Created attachment 55847 [details]
Fixed ebuild

This is an update to the prev. e-build above. Also postin the patch
0.9-CVideoOpenGL.patch
Comment 8 Chris Statzer 2005-04-10 03:39:30 UTC
Created attachment 55848 [details, diff]
patch for use with above e-build

Patch needed for above e-build
Comment 9 Timm Murray 2005-04-11 06:21:46 UTC
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'
----
Comment 10 Robert R. Richter 2005-05-17 13:48:00 UTC
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
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2005-05-30 12:49:44 UTC
*** Bug 94534 has been marked as a duplicate of this bug. ***
Comment 12 Robert R. Richter 2005-06-06 18:56:46 UTC
maybe this will help you :)

Have Fun!

http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=42400#42400
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2005-06-06 19:39:18 UTC
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.
Comment 14 SpanKY gentoo-dev 2005-06-06 20:32:57 UTC
0.10.0 is now in portage, give it a spin

file a new bug for any issues you encounter
Comment 15 Robert R. Richter 2005-06-08 15:38:45 UTC
@Mr.Bones: that's not true - we are building against the system libs.!
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2005-06-08 16:04:28 UTC
see
http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-games/irrlicht/irrlicht-0.10.0.ebuild?rev=1.1&view=auto
for how building irrlicht isn't straight forward.  Note the sed calls. 
Comment 17 Robert R. Richter 2005-06-09 04:24:23 UTC
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!
Comment 18 Mr. Bones. (RETIRED) gentoo-dev 2005-06-09 08:04:55 UTC
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.