Home > Archive > PHP Installation > December 2005 > RE: [PHP-INSTALL] Trouble running configure on Solaris 9, Apache, MySQL install
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
RE: [PHP-INSTALL] Trouble running configure on Solaris 9, Apache, MySQL install
|
|
| Bell, William IT 2005-12-06, 7:00 pm |
| Hey Andy,
I tried again, and it took the 'crle' commands to make it work. The
'configure' ran successfully this time; no ATTENTION message. Woohoo!
:)
I kicked off the 'make' and we'll see where that ends up tomorrow
morning (takes a while to run). I've already seen a couple of errors
about "incompatible pointer type" for libiconv, but I'm not making any
predictions (yet). I'll let you know what happens when I get to work
tomorrow morning.
Thanks!
Hi Luc,
Thanks for the advice. I'm thinking that if this doesn't work, I may
have to go back to the drawing board and try one of your first 2
suggestions. I should download Studio 10 anyway (while it's free). ;)
Regarding your 3rd suggestion, when you say "stuff" what do you mean?
Thanks!
Regards,
-Bill
-----Original Message-----
From: Luc I. Suryo [mailto:luc@suryo.com]=20
Sent: Tuesday, December 06, 2005 5:27 PM
To: Bell, William IT
Cc: Andy Fiddaman
Subject: Re: [PHP-INSTALL] Trouble running configure on Solaris 9,
Apache, MySQL install
kinda of a lame solution BUT how about this....
=09recompile everyting with Sun's CC compiler..
=09Studio 10 is free for testing...
=09or
=09get a gcc that is compiled static only (so it has shared
lib_gcc)
=09or
=09as the solution From Andy but make sure tiu have the correct
=09setting the -L and -R MUST point to the lib-directory where you
=09have install 'stuff' used by apache, php and mysql..
just my 25c
>=20
> On Tue, 6 Dec 2005, Bell, William IT wrote:
>=20
> ; Thanks Andy, I appreciate the help. I gave it a shot, but
unfortunately
> ; it didn't work. I get the same error in the debug.log output.
> ;
> ; Thanks for trying. Please let me know if you think of anything else
I
> ; can try.
> ;
> ; Regards,
> ; -Bill
>=20
> Ok, two more options then. Try prefixing your configure command with
an
> LDFLAGS setting like:
>=20
> LDFLAGS=3D"-L/usr/local/lib -R/usr/local/lib" ./configure ... your usua=
l
> options here...
>=20
> if that doesn't work, then add /usr/local/lib to your runtime linking
> environment using the following command:
>=20
> crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib
>=20
> If you're using a 64-bit compiler and making a 64-bit binary, you'll
> also need to do:
>=20
> crle -64 -c /var/ld/64/ld.config -l /usr/lib/64:/usr/local/lib/sparcv9
****************************************
****
This communication and any files or attachments transmitted with it may c=
ontain information that is confidential, privileged and exempt from discl=
osure under applicable law. It is intended solely for the use of the indi=
vidual or the entity to which it is addressed. If you are not the intende=
d recipient, you are hereby notified that any use, dissemination, or copy=
ing of this communication is prohibited by federal law. If you have recei=
ved this communication in error, please destroy it and notify the sender.
****************************************
****
| |
| Luc I. Suryo 2005-12-06, 9:57 pm |
| Hi Bill,
> Hey Andy,
> I tried again, and it took the 'crle' commands to make it work. The
> 'configure' ran successfully this time; no ATTENTION message. Woohoo!
> :)
>
> I kicked off the 'make' and we'll see where that ends up tomorrow
> morning (takes a while to run). I've already seen a couple of errors
> about "incompatible pointer type" for libiconv, but I'm not making any
> predictions (yet). I'll let you know what happens when I get to work
> tomorrow morning.
> Thanks!
>
> Hi Luc,
> Thanks for the advice. I'm thinking that if this doesn't work, I may
> have to go back to the drawing board and try one of your first 2
> suggestions. I should download Studio 10 anyway (while it's free). ;)
>
> Regarding your 3rd suggestion, when you say "stuff" what do you mean?
well let say you have dbm, gd, freetype imap etc support in your php and
these depends on other shared library then you will need to adjust your
-L and -R to the location of these libs.
my php has quite some support buildt in include zlib and i need to make
sure it uses my zlib and not sun's ... ;)
btw: i believe that Studio 11 is also 'free', and in a 64-bits
compilation Sun CC is better then GCC. but that is my opinion...
one of the reason I try to avoid GCC is lib_gcc dependancy... we have
quite some apache server running php and other (java and such) so to be
sure we have a 'clean' depenandcy everything is compiled with Sun C :-)
-ls
[color=darkred]
>
>
>
> kinda of a lame solution BUT how about this....
>
> recompile everyting with Sun's CC compiler..
> Studio 10 is free for testing...
>
> or
>
> get a gcc that is compiled static only (so it has shared
> lib_gcc)
>
>
> or
>
> as the solution From Andy but make sure tiu have the correct
> setting the -L and -R MUST point to the lib-directory where you
> have install 'stuff' used by apache, php and mysql..
>
> just my 25c
>
>
>
> unfortunately
> I
> an
|
|
|
|
|