Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Weird build errors (when building against SDL) [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

Weird build errors (when building against SDL) [solved]

  • Quote

Post by poly_poly-man » Sun Feb 24, 2008 3:59 am

So yesterday I started a big update (I don't do that *nearly* often enough), full of TONS of stuff to update (big stuff, too, like both KDE slots, openoffice, gcc, and tons of major libraries like s-lang).

I'm to the point where stuff just flat-out won't compile. Okay, so gcc-4.2.3 is built and in use (wasn't before, so I thought changing that would help). I rebuilt libsdl to be sure, then tried to re-emerge one of the packages with breakage (mostly s-lang garbage, and now this:), smpeg.

Code: Select all

checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.2.0 not found!
What's up? libsdl is DEFINITELY installed, tho every package relying on it gives me this error. sdl-config gives me reasonable output, --version says 1.2.13 .

I can compile code; I tried to make sure.

If you need any more info, I'll give it here upon request.

How do I get these things to compile?

poly-p man

emerge --info:

Code: Select all

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.23-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Timestamp of tree: Fri, 22 Feb 2008 16:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/sajinet"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib acl acpi aim alsa amarok amd amd64 animgif ao apm aqua_theme audiofile bash-completion bcmath berkdb bitmap-fonts bittorrent blender-game branding buttons bzip2 cal3d calendar cdaudio cdda cddb cdio cdparanoia cdr cdrom clamav cli cpudetection cpufreq cracklib crypt css cups curl curlwrappers cvs demo dhcp directfb dri dv dvb dvd dvdnav dvdr dvdread editor encode equalizer examples expat extra-cardsets extraicons extramodules extras fastbuild fat ffmpeg fftw finger firefox flac flash fltk fortran ftp games gcj gdbm geoip gif gimp gkrellm glut gmail gnutls gphoto2 gpm gzip hacking hal haskell hddtemp hfs howl http hwmixer icons iconv icq id3 id3tag idn ieee1394 image imagemagick imap imlib imlib2 ipv6 irc irda isdnlog jabber jack java javascript jingle joystick jpeg jpeg2k kcal kde kdecards kdm kerberos kmid kqemu krb4 kvm lame lash latex ldap ldap-sasl lesstif libburn libcaca libedit libnotify libwww linux-smp-stats lirc live lm_sensors login-watch logitech-mouse lua lyrics lzo lzw mad mail maildir maps math mbox mcal md5sum midi mikmod milter mime ming mmx mmxext mng mod_irc modplug motif mouse mp3 mpeg mpi mplayer mplayer-bin msn mudflap musicbrainz mysql nas ncurses net networkmanager nforce2 nfs nis nls nntp nptl nptlonly nsplugin nut nvidia offensive ogg openal opengl openmp osc oscar oss pam parport password passwordsave paste64 pcre pda pdf perl php plugins png pop pop3d portage portaudio posix postscript povray ppds pppd procmail profile ps pygrub pysolcards python qemu qt3 qt4 quicktime radio raw rdesktop reflection resolvconf rss rtc ruby samba sametime sasl scanner sdl sdl-image sdl-sound sdlaudio sendmail sensord serial server session shorten skey slang slp smartcard smp smtp sname sndfile snmp soap sockets socks5 solver songs sortrecords sound sounds soup source sox spamassassin spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification submenu subtitles suid svg svgz swat syslog sysvipc szip taglib tcl tcpd tetex tftp themes theora threads tiff timerinfo timezone timidity tk tokenizer transcode transparent-proxy trash-plugin trayicon truetype truetype-fonts trusted tta tv twolame type1 type1-fonts unicode unzip upnp ups urandom usb user-homedirs userpriv uuencode v4l v4l2 vcd vhosts video videos vim vim-syntax vim-with-x vlm vnc vncviewer vorbis vpopmail wav wavpack web wifi winpopup wma wmf wxwindows x11vnc x264 xcomposite xen xft xine xinerama xinetd xml xorg xosd xplanet xpm xprint xscreensaver xskatcards xsl xterm xulrunner xv xvid xvmc xvnc yahoo zeroconf zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Last edited by poly_poly-man on Sun Feb 24, 2008 1:49 pm, edited 1 time in total.
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
Hu
Administrator
Administrator
Posts: 24556
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Feb 24, 2008 5:19 am

Please post the compilation error text recorded in config.log.
Top
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

  • Quote

Post by poly_poly-man » Sun Feb 24, 2008 1:50 pm

Hu wrote:Please post the compilation error text recorded in config.log.
Thanks for the tip to check there - it seems that libcaca was being pulled in by sdl, and libcaca still references the old s-lang. A quick caca recompile, and I'm good.

poly-p man
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
Warhead
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Thu Oct 09, 2003 3:24 pm
Location: Verden, near Bremen, Germany

  • Quote

Post by Warhead » Tue Mar 11, 2008 4:37 pm

poly_poly-man wrote:
Hu wrote:Please post the compilation error text recorded in config.log.
Thanks for the tip to check there - it seems that libcaca was being pulled in by sdl, and libcaca still references the old s-lang. A quick caca recompile, and I'm good.

poly-p man
Rebuilding libcaca does not solve this for me! I get the same error when rebuilding smpeg.

Regards
Warhead
To Rome said Nero: "If to smoke you turn
I shall not cease to fiddle while you burn."
To Nero Rome replied: "Pray do your worst,
'Tis my excuse that you were fiddling first."
--Orm Pludge
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy