Installing PHP on Solaris (Express) Error


 
Thread Tools Search this Thread
Operating Systems Solaris Installing PHP on Solaris (Express) Error
# 1  
Old 08-15-2008
Installing PHP on Solaris (Express) Error

Hi PHP 5 can't seem to find cc compiler even though it's there
(note, i'm installing in a zone,& am root)
Any Ideas ?


$ pwd
/tmp/php-5.2.6
$ ./configure
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-pc-solaris2.11
checking target system type... i386-pc-solaris2.11
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
$ echo $PATH
/usr/bin
$ ls -l cc*
lrwxrwxrwx 1 root root 20 Mar 10 16:36 cc -> /opt/SUNWspro/bin/cc
lrwxrwxrwx 1 root root 24 Mar 10 16:36 cc-5.0 -> /opt/SUNWspro/bin/cc-5.0
$ pwd
/usr/bin
# 2  
Old 08-16-2008
What says:
Code:
ls -lL /usr/bin/cc

?
# 3  
Old 08-16-2008
is your $LD_LIBRARY_PATH set? pointing to all the appropriate libs and such.
# 4  
Old 08-16-2008
A search for C compilers on the system, such as cc or gcc will show their paths.. add them to the path and echo $PATH to verify. it should work aft that
# 5  
Old 08-16-2008
Depending on what choice was made as installation type (core, end-user, developer, full), Solaris Express can have no, one or two C compilers.
Contenders are /usr/sfw/bin/gcc (not in the default PATH) and /opt/SUNWspro/bin/cc (neither in the default PATH). Perhaps SUNWspro isn't installed at all or isn't installed as a package so /opt/SUNWspro just doesn't exists in the sparse zone which doesn't lofs mount /opt, the reason why I asked for the ls -lL result.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 Express - freezes on startup!

I seem to be having a very irritating problem with my Solaris 11 Express fileserver which I built for my small home business. The basic problem is that the system will hang or freeze about 20 seconds into booting up. Grub comes up fine, and I can select between pre-napp-it and current build. It... (13 Replies)
Discussion started by: Smokin Whale
13 Replies

2. Solaris

OpenSolaris, Solaris, Solaris Express - differences

What are the differences between these systems? I have to use Oracle's product but I do not know who to choose (3 Replies)
Discussion started by: PtaQ
3 Replies

3. UNIX for Dummies Questions & Answers

Installing a library of php in solaris 10

People i want to install a library on a solaris 10 x64 with a opteron. The library asks for a another library called libxcb-xlib.so.0. Does Anybody know where i can find this library? the complete error is root@webserver # php PHP Warning: PHP Startup: Unable to load dynamic library... (1 Reply)
Discussion started by: enkei17
1 Replies

4. Solaris

Solaris Express or OpenIndiana

Simply question which should I use. correct me if I'm wrong but Solaris Express is taking the place of Opensolaris and is officially sanctioned by Oracle and OpenIndiana is what used to be OpenSolaris. If I opt for OpenIndiana is it going to follow the official Oracle Solaris releases or are... (3 Replies)
Discussion started by: michael78
3 Replies

5. Solaris

Error: installing Nmap on Solaris11 Express

Hello, I am trying to install Nmap on my Solaris machine. I got errors at the very last of "make" command though. Could someone point me out what I am lacking? Thank you! Nmap version: 5.50 (nmap-5.50.tar.bz2) Solaris version (cat /etc/release): Error message ( run "./configure &&... (0 Replies)
Discussion started by: fragile_it
0 Replies

6. Solaris

Error after installing 2nd hard disk on Solaris 10?

I installed Solaris 10 on this Dell 5150 with only 1 SATA hard drive setup, all went well, and I could view the disk in the disk management window. However, I setup a 2nd hard drive, identical to 1st drive. Solaris wont recognize it and gives an error when trying to view disks in disk management... (5 Replies)
Discussion started by: Joncamp
5 Replies

7. Solaris

ipfilter solaris express

Hello, | am trying to setup ipfilter on solaris express snv_91 but I don't seem to have the following file available. /etc/ipf/pfil.ap Is this an older way of configuring the interface?, I have all the packages installed. Thanks, (1 Reply)
Discussion started by: Actuator
1 Replies

8. Solaris

[Help] please help error messages when installing solaris 8

hi expert, please help i had a problem when installing sun solaris OS at V890, below is the error messages : SunOS Release 5.8 Version Generic_108528-29 64-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. configuring IPv4 interfaces: ce0. Hostname: USSDGmdn-4... (5 Replies)
Discussion started by: bucci
5 Replies
Login or Register to Ask a Question