Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ices-0.4/Perl/Solaris 10 compile problem

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Fri May 05, 2006 1:51 pm    Post subject: ices-0.4/Perl/Solaris 10 compile problem Reply with quote

I hope someone out there can help me, I can't seem to get ices-0.4 to compile with Perl support on Solaris 10. Has anyone been able to do this?

Here is my system setup:

Solaris 10 (1/06 s10s_u1wos_19a SPARC release)
gcc 3.4.3 from Sun (also tried latest gcc3 and gcc4 from blastwave.org)
perl 5.8.4 from Sun (also tried perl 5.8.8 from blastwave.org)


Ices compiles fine with XML, Python, LAME, and Vorbis but when I add Perl it bombs during configure with the following:

checking for perl_construct... no
configure: error: Could not link to perl


A look in the config.log shows:
configure:21645: checking for perl_construct
configure:21702: gcc -o conftest -g -O2 -Wall -I/opt/csw/include -D_REENTRANT -pthreads
-I/usr/include/libxml2 -I/opt/csw/include/python2.3 -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_BITS=64 -xarch=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -L/o
pt/csw/lib/python2.3/config conftest.c -L/opt/csw/lib -lshout -lvorbis -lm -lspeex -lo
gg -L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm -lsocket -lnsl -lpython2.3 -lresolv
-lsocket -lnsl -lrt -ldl -lpthread -lm -lresolv -lsocket -lnsl -lrt -ldl -lpthread -
R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE /usr/perl5/5.8.4/lib/sun4-solaris-64int
/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -ls
ocket -lnsl -ldl -lm -lc >&5
gcc: language arch=v8 not recognized
gcc: language arch=v8 not recognized
ld: fatal: file conftest.c: unknown file type
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:21708: $? = 1



Any clues???

Thanks
Back to top
Anonymous
Guest





PostPosted: Sun Mar 18, 2007 1:03 am    Post subject: Reply with quote

I only know linux, but looks like your missing some sort of perl development package. In linux it is libperl-dev (or libperl-devel), see if there is something similar for solaris.
Back to top
Anonymous
Guest





PostPosted: Sun Mar 18, 2007 4:15 am    Post subject: Reply with quote

Anticept2 wrote:
I only know linux, but looks like your missing some sort of perl development package. In linux it is libperl-dev (or libperl-devel), see if there is something similar for solaris.



As near as I can tell I do have all the required libraries and headers. Could you possibly give me a list of the files in that package. It's rpm -ql <pkgname> in RedHat. Not sure what the dpkg equivalent is in Debian based versions.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber