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 |
| Geez, that was quick! I didn't even make it out the door yet. :)
The make finished quickly -- did I forget to do a 'make clean' first??
-- and then I ran 'make install'. That seemed to run fine. I'll test
it tomorrow and let you know how it looks.
BTW, here's an example of the ominous "incompatible pointer type"
warnings I got during the make:
/usr/local/include/libxml2 -I/temp/apache/php-5.1.1/ext/date/lib
-I/opt/mysql/include/mysql -I/temp/apache/php-5.1.1/TSRM
-I/temp/apache/php-5.1.1/Zend -D_POSIX_PTHREAD_SEMANTICS -g -O2 -c
/temp/apache/php-5.1.1/ext/iconv/iconv.c -o ext/iconv/iconv.lo=20
/temp/apache/php-5.1.1/ext/iconv/iconv.c: In function
`_php_iconv_appendl':
/temp/apache/php-5.1.1/ext/iconv/iconv.c:254: warning: passing arg 2 of
`libiconv' from incompatible pointer type
/temp/apache/php-5.1.1/ext/iconv/iconv.c: In function
`php_iconv_string':
/temp/apache/php-5.1.1/ext/iconv/iconv.c:414: warning: passing arg 2 of
`libiconv' from incompatible pointer type
=2E..
There were a several more similar warnings. Should I be concerned?
Many thanks guys!
Regards,
-Bill
-----Original Message-----
From: Bell, William IT=20
Sent: Tuesday, December 06, 2005 5:58 AM
To: 'Luc I. Suryo'
Cc: Andy Fiddaman; php-install@lists.php.net
Subject: RE: [PHP-INSTALL] Trouble running configure on Solaris 9,
Apache, MySQL install
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.
****************************************
****
|
|
|
|
|