DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th May 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default Compiling pingus error.

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
What does it means? I have all the libraries installed.
Reply With Quote
  #2   (View Single Post)  
Old 14th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
What does it means? I have all the libraries installed.
If you bother to read your error messages before posting, you would save yourself a great deal of time. Look:
Code:
/bin/sh: sdl-config: not found
sdl-config is a component of devel/sdl, which is apparently not installed.
Reply With Quote
  #3   (View Single Post)  
Old 14th May 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

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.
Reply With Quote
  #4   (View Single Post)  
Old 14th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
Scons appears to be looking in /opt for some reason...
Not as posted in this thread, as as far as I can tell. Perhaps bsdnewbie edited his post? Caught early enough, there will be no edit flagged.
Reply With Quote
  #5   (View Single Post)  
Old 14th May 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

This was my mistake, I was caught off guard by /usr/obj... sorry folks.
Reply With Quote
  #6   (View Single Post)  
Old 14th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

bsdfan:

This looks like WRKOBJDIR has been set, and that this failure occured during the make fake step.

bsdnewbie:

games/pingus is not available for 4.5 or earlier releases. It is -current, only. If you are running -release, please read FAQ 15.4.1. Then read it again.
Reply With Quote
  #7   (View Single Post)  
Old 16th May 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

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.
I double checked, I already install libiconv package this time but I got this error.
Reply With Quote
  #8   (View Single Post)  
Old 16th May 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I forgot to install the sdl packages. Now I have it installed but still facing another problem.
bsdnewbie999. let's get this straight once & for all.

Section 15.4.1 of the FAQ states:
Quote:
15.4.1 - I'm getting all kinds of crazy errors. I just can't seem to get this ports stuff working at all.

It is very likely that you are using a system and ports tree which are not in sync.
The CVS log showing when pingus was commited to the ports tree:

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT. The time now is 10:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick