RE: [PHP] install to unix... hastles
| From: | David Robley | Date: | Wed, 24 Jul 2002 05:36:47 +0000 |
| Subject: | RE: [PHP] install to unix... hastles | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109252@lists.php.net to get a copy of this message | ||
In article <DPEPKCNEFOKBCNNANCIPGEMMCGAA.php@vfsa.com.au>, php@vfsa.com.au
says...
> > > Hiya,
> > > >
> > > > I'm new to installing php onto unix i can get the ./configure
> > > > command to run
> > > > with out error (well any that are obvious)
> > > > but when i do the make it comes up with
> > > >
> > > > # make
> > > > Making all in Zend
> > > > make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
> > > > /bin/sh ../libtool --silent --mode=compile
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../main
> > > > -D_POSIX_PTHREAD_SEMANTICS -I../TSRM
> > > > -g -O2 -prefer-non-pic -static -c -o
> > zend_language_parser.lo `test -f
> > > > zend_language_parser.c || echo './'`zend_language_parser.c
> > > > In file included from zend_compile.h:24,
> > > > from zend_language_parser.c:147:
> > > > zend.h:55:19: unix.h: No such file or directory
> > > > make[1]: *** [zend_language_parser.lo] Error 1
> > > > make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
> > > > make: *** [all-recursive] Error 1
> > > >
> > > > now i understand that it can't find unix.h and am assuming that
> > > > this is why
> > > > it doesn't work ...
> > > >
> > > > does any one have any ideas for me .... php ver is 4.2.1 for
> > now... though
> > > > will upgrade to 4.2.2 soon..
> >
> > Sounds like you are missing the system header files - what 'unix' are you
> > using?
> >
> > Cheers
> > --
> > David Robley
> > Temporary Kiwi!
> >
> am using Solaris 9 ....
Had a feeling you were going to say the Sun word :-) It sounds like you
are missing a bunch of system header files, used for compiling any
programs. IIRC they live in something like /usr/include (at least on a
slackware linux) or /usr/src/[architecture]/include.
Either that or they are located somewhere where the compiler can't find
them; does 'locate unix.h' return anything - assuming locate is up2date on
your system.
If not, unless there is a Sun guru here, you might want to check on a Sun-
specific list about exactly what you need to get and how.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam