Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368343 - can't compile dev-games/guichan-0.8.2: sdlimageloader.cpp:50:23: error: SDL_image.h: no such file or directory
Summary: can't compile dev-games/guichan-0.8.2: sdlimageloader.cpp:50:23: error: SDL_i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-22 13:19 UTC by Petr Nosek
Modified: 2011-06-06 11:52 UTC (History)
0 users

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


Attachments
Build - log (build.log,45.87 KB, text/plain)
2011-05-22 13:20 UTC, Petr Nosek
Details
Make.conf (make.conf,1.75 KB, application/octet-stream)
2011-05-22 13:21 UTC, Petr Nosek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nosek 2011-05-22 13:19:55 UTC
I tried recompile libsdl sdl-image - without success.

gentoovbi nosek # emerge -va1 libsdl sdl-image

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libsdl-1.2.14-r6  USE="X alsa audio joystick opengl oss video xinerama xv -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas (-ps3) -pulseaudio -static-libs (-svga) -tslib" 0 kB                                                                                                                  
[ebuild   R   ] media-libs/sdl-image-1.2.10-r1  USE="gif jpeg png -static-libs -tiff" 0 kB




gentoovbi nosek # locate SDL_image.h
/usr/include/SDL/SDL_image.h
Comment 1 Petr Nosek 2011-05-22 13:20:55 UTC
Created attachment 274273 [details]
Build - log
Comment 2 Petr Nosek 2011-05-22 13:21:27 UTC
Created attachment 274275 [details]
Make.conf
Comment 3 Petr Nosek 2011-05-22 13:29:48 UTC
I think, something is wrong with SDL-image. Maybe some USEFLAGS solve this problem. But I didn'n find anything about it.

I'll give you more information. 


gentoovbi nosek # emerge --info =dev-games/guichan-0.8.2
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 21 May 2011 14:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 arts avahi avi berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dlloader dri dvd dvdr dvdread eds emboss encode esd fam firefox fortran gcj gdbm gif gnome gpm gstreamer gtk iconv ipv6 isdnlog jpeg kde ldap libg++ mad mikmod mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdflib perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse sse2 ssl sysfs tcpd truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vdpau vorbis xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Rafał Mużyło 2011-05-22 17:20:24 UTC
Well, here's food for thought:
'-I/usr/local/include/SDL'
Do you have trash in /usr/local ?
Comment 5 Petr Nosek 2011-05-22 17:38:28 UTC
thank you for a tip.


I'm not sure, how to fix it correctly, but this solve my problem:

ln -s /usr/include/SDL/SDL_image.h /usr/local/include/SDL/SDL_image.h



(In reply to comment #4)
> Well, here's food for thought:
> '-I/usr/local/include/SDL'
> Do you have trash in /usr/local ?
Comment 6 Rafał Mużyło 2011-05-22 19:35:38 UTC
No, that actually broke it a little bit more.

No package provided by portage should be in /usr/local.

If you put something there, you're the source of the bug.
Comment 7 Petr Nosek 2011-06-06 11:51:11 UTC
thanks, but I don't know, how to fix it.

I don't know, why is compilation of guichan linking '-I/usr/local/include/SDL'.

Do you have any idea, how to fix it?



(In reply to comment #6)
> No, that actually broke it a little bit more.
> 
> No package provided by portage should be in /usr/local.
> 
> If you put something there, you're the source of the bug.
Comment 8 Petr Nosek 2011-06-06 11:52:50 UTC
thanks, but I don't know, how to fix it.

I don't know, why is compilation of guichan linking '-I/usr/local/include/SDL'.

Do you have any idea, how to fix it?



(In reply to comment #6)
> No, that actually broke it a little bit more.
> 
> No package provided by portage should be in /usr/local.
> 
> If you put something there, you're the source of the bug.