Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135351 - can't find SDL_net.h or SDL_image.h
Summary: can't find SDL_net.h or SDL_image.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 23:16 UTC by marty rosenberg
Modified: 2006-06-05 22:12 UTC (History)
0 users

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


Attachments
config.log from alephone-20060506-r1 failed install (config.log,30.43 KB, text/plain)
2006-06-05 22:06 UTC, marty rosenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marty rosenberg 2006-06-02 23:16:07 UTC
Portage 2.1_rc3-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-rc4-mm1 i686)
=================================================================
System uname: 2.6.17-rc4-mm1 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -msse -msse2 -O3 -pipe -fomit-frame-pointer -fgcse -fgcse-lm -fgcse-lm -fgcse-las"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -msse -msse2 -O3 -pipe -fomit-frame-pointer -fgcse -fgcse-lm -fgcse-lm -fgcse-las"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/  http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr cli crypt cups dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev vorbis x86 xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS



when I attempt a normal emerge, portage gives:
checking for SDL - version >= 1.2.0... yes
checking SDL_image.h usability... no
checking SDL_image.h presence... no
checking for SDL_image.h... no
checking SDL_net.h usability... no
checking SDL_net.h presence... no
checking for SDL_net.h... no
configure: error: You need SDL_net to run Aleph One.


I have both SDL-image and SDL-net installed.  the requested header files reside in /usr/include/.  They actually reside in /usr/include/SDL.  When I add 
SDL_net.h to /usr/include with the contents:
#include "SDL/SDL_net.h"
and a correspondingfile for SDL_image.h, 
it gives other gcc errors.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-06-02 23:36:29 UTC

*** This bug has been marked as a duplicate of 132716 ***
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-05 18:56:34 UTC
Reopening from an overzealous bug-wrangler... ;]
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-06-05 20:08:54 UTC
fine, let's have the config.log from the build directory then please.
Attach as text/plain.
Comment 4 marty rosenberg 2006-06-05 22:06:05 UTC
Created attachment 88496 [details]
config.log from alephone-20060506-r1 failed install
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-06-05 22:12:37 UTC
configure:4805: checking for sdl-config
configure:4823: found /usr/local/bin/sdl-config
configure:4836: result: /usr/local/bin/sdl-config
configure:4844: checking for SDL - version >= 1.2.0

get rid of the stuff you installed by hand.