PHP4.3.4 build problems

From: Paul (Jimbo) Duncan G7KES (pdu_at_soc.soton.ac.uk)
Date: 01/30/04


Date: Fri, 30 Jan 2004 11:51:36 +0000

Hi,

I'm having problems building PHP 4.3.4 on a (patched) Solaris 9 system
(Sunblade 150).

We're using the version of Apache that came with Solaris 9, I've
installed gcc 3.3.2 (from www.sunfreeware.com) and I've successfully
mangaged to build a recent version of Tcl/Tk with it.

I've installed flex 2.5.4 (also from sunfreeware.com)

When I attempt to build PHP the "./configure
--with-apxs=/usr/apache/bin/apxs" goes fine, but then make fails with:

ld: fatal: file ext/ctype/ctype.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.la

What am I doing wrong?

Thanks!

Paul
~~~~~



Relevant Pages

  • Re: (g)cc and /usr/local
    ... Because when you installed gcc on Solaris, ... headers. ... gcc on FreeBSD is the default compiler, ... run Solaris' default cc, ...
    (freebsd-questions)
  • cc: unrecognized option `-KPIC
    ... I am trying to install a perl module on solaris 9. ... cc: unrecognized option `-KPIC' ... I installed gcc from sunfreeware.com and I removed the original 'cc' and ...
    (SunManagers)
  • gcc 3.4.2 seg faults on solaris 8
    ... Installed gcc 3.4.2 binaries built for solaris 2.8 from sunfreeware.com ... and when I try to run gcc, I get a seg fault. ...
    (comp.unix.solaris)