Okay, somebody somewhere reset by $LD_LIBRARY_PATH
I Re-reset it to:
/www/acousticdemo.com/cvs/usr/local/lib:/usr/local/lib
Now I can run the ICU/samples/date/icudate program.
When I go into my ext/perror directory, and attempt to compile my
nifty new extension once again...
I get a bazillion errors, starting with:
unicode/utypes.h: No such file or directory
(from perror.c, php.h, zend.h)
and ending with:
php/main/streams.h: Syntax error before "UChar"
Error code 1
I tried setting LD_INCLUDE_PATH parallel to LD_LIBRARY_PATH, as it
seemed like a reasonable thing to do... Guess not.
I'm giving up for today.
I've had my RDA of feeling stupid.
--
Like Music?
http://l-i-e.com/artists.htm
Hello Richard,
you forgot the include path...did you ever compile anything?
Friday, April 14, 2006, 12:35:52 PM, you wrote:
Okay, somebody somewhere reset by $LD_LIBRARY_PATH
I Re-reset it to:
/www/acousticdemo.com/cvs/usr/local/lib:/usr/local/lib
Now I can run the ICU/samples/date/icudate program.
When I go into my ext/perror directory, and attempt to compile my
nifty new extension once again...
I get a bazillion errors, starting with:
unicode/utypes.h: No such file or directory
(from perror.c, php.h, zend.h)
and ending with:
php/main/streams.h: Syntax error before "UChar"
Error code 1
I tried setting LD_INCLUDE_PATH parallel to LD_LIBRARY_PATH, as it
seemed like a reasonable thing to do... Guess not.
I'm giving up for today.
I've had my RDA of feeling stupid.
--
Like Music?
http://l-i-e.com/artists.htm
Best regards,
Marcus
you forgot the include path...did you ever compile anything?
I compile PHP from source routinely.
I install a bunch of stuff from source all the time.
Though, admittedly, usually on my own box, where I don't have to deal
with trying to "split" the inter-dependent libraries between two
different directory paths.
I did not "forget" the include path.
Thought, perhaps, my reading of ./configure --help is incorrect...
The implication from that output, to me, is that if I set --prefix,
then the include path and lib path will be set to PREFIX/include and
PREFIX/lib
Those are, I think, what I want.
I have also attempted to manually set the includedir and libdir to:
~/cvs/usr/local/include
~/cvs/usr/local/lib
(only I typed the full path, of course, not relying on shell expansion)
That, however, caused problems when configure went looking for other
required libraries which are in the usual place in /usr/local/lib
So then I tried includedir and libdir:
~/cvs/usr/local/include:/usr/local/include
~/cvs/usr/local/lib:/usr/local/lib
I thought that that would get everything to check my home dirs first,
then the "usual" dirs second, to find whatever it needed.
I'll try that again, as it seems the most reasonable -- It's possible
I just made a typo in that one, as I was so tired.
The thing is, virtually all the "How-Tos" I can find only cover the
"normal" situation of compiling software to install in your base
installation "for real" instead of compiling, as I am, for development
situation.
And they also all gloss over what these configure args actually mean
and how they interact. I'm the kind of guy that needs a longer
explanation of what these things DO in order to understand how to use
them, and I've failed to find that. [shrug]
Maybe if I ever really figure it out, I'll type it up somewhere.
Usually, though, after I get it to work, I don't really understand why
the thing I did worked, and the other things I did didn't work, so
it's more Voodoo than anything. Not much point in trying to document
Voodoo Programming, eh?
--
Like Music?
http://l-i-e.com/artists.htm