![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I got these message while running scons.
Code:
scons: Reading SConscript files ... /bin/sh: sdl-config: not found OSError: 'sdl-config --cflags --libs' exited 127: File "/home/keongpo/pingus-0.7.0/SConstruct", line 46: SConscript('src/SConscript') File "/usr/obj/i386/scons-0.97p0/fake-i386/usr/local/lib/scons-0.97/SCons/Script/SConscript.py", line 583: None File "/usr/obj/i386/scons-0.97p0/fake-i386/usr/local/lib/scons-0.97/SCons/Script/SConscript.py", line 520: None File "/usr/obj/i386/scons-0.97p0/fake-i386/usr/local/lib/scons-0.97/SCons/Script/SConscript.py", line 245: None File "/home/keongpo/pingus-0.7.0/src/SConscript", line 29: env.ParseConfig('sdl-config --cflags --libs') File "/usr/obj/i386/scons-0.97p0/fake-i386/usr/local/lib/scons-0.97/SCons/Environment.py", line 1134: None File "/usr/obj/i386/scons-0.97p0/fake-i386/usr/local/lib/scons-0.97/SCons/Environment.py", line 473: None |
|
|||
![]()
Do you have SDL installed? if yes, are you sure that /usr/local/bin in your $PATH?
Also, games/pingus is already in the -CURRENT ports tree... so it might be easier to utilize that, albeit in an unsupported manner. Scons appears to be looking in /opt for some reason, that directory doesn't typically exist on OpenBSD.. Clearly you're having an unusually difficult time getting familiar with OpenBSD. |
|
|||
![]()
This was my mistake, I was caught off guard by /usr/obj... sorry folks.
|
|
|||
![]()
I forgot to install the sdl packages. Now I have it installed but still facing another problem.
Code:
scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o src/tinygettext/iconv.o -c -O2 -Wall -Werror -g -I/usr/local/include/ -I/usr/local/include/libpng/ -L/usr/local/lib/ -pthread -R/usr/X11R6/lib -DENABLE_BINRELOC -D_GNU_SOURCE=1 -D_REENTRANT -DXTHREADS -I. -Isrc -I/usr/local/include -I/usr/local/include/SDL -I/usr/X11R6/include src/tinygettext/iconv.cpp src/tinygettext/iconv.cpp: In member function `std::string TinyGetText::IConv::convert(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': src/tinygettext/iconv.cpp:85: error: invalid conversion from `const char**' to `char**' scons: *** [src/tinygettext/iconv.o] Error 1 scons: building terminated because of errors. |
|
|||
![]() Quote:
Section 15.4.1 of the FAQ states: Quote:
http://www.openbsd.org/cgi-bin/cvswe...ingus/Makefile ...states that it was added 14 March 2009. OpenBSD 4.5-release was tagged in CVS around ~1-2 March 2009. As jggimi has already stated, unless you are running 4.5-current, pingus has not been verified on any previous version of OpenBSD, & no one will bother doing so. You are on your own if you want to run pingus on anything older than 4.5-current. In case there is any question, let me repeat myself: You are on your own if you want to run pingus on anything older than 4.5-current. If you are confused by the different versions of OpenBSD: -release, -stable, & -current, study Section 5.1: http://openbsd.org/faq/faq5.html#Flavors |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling Epkowa | Oko | OpenBSD Packages and Ports | 3 | 30th December 2008 10:01 PM |
Error while compiling e2fsprogs | pax | FreeBSD Ports and Packages | 4 | 4th August 2008 11:40 AM |
c++ compiling hello world | Gates | Programming | 3 | 26th July 2008 12:48 PM |
Compiling Nagios 3.02 | roundkat | Solaris | 1 | 2nd June 2008 09:09 PM |
Compiling OpenBSD code | WeakSauceIII | OpenBSD General | 4 | 19th May 2008 12:59 AM |