RE: [PHP] Bizarre problem.

2002-02-21 Thread Ford, Mike [LSS]

 -Original Message-
 From: Andres Plaza R. [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 20:55
[...]
 
   BUT, the other day I used vi to see the debug.log, and the error
 appears like this:
 
 gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208105 
 -DUSE_HSREGEX -DEAPI  -Wl,-rpath,/usr/local/ssl/lib 
 -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib 
 -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib 
 -L/usr/local/oracle/8.0.5/lib conftest.c -lclntsh -lpsa 
 -lcore4 -lnlsrtl3 -lm^M -lnsl -lgd -lcurl -ldl -lcrypto -lssl 
 -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl  
 -lresolv -lcrypt 15
 /usr/bin/ld: cannot find -lm^M
 collect2: ld returned 1 exit status
 
   You will notice that there is a ^M after -lm ! And, of 
 course, ld
 didn't find -lm^M . :-)
 
   Obviously, I edited the configure file, but there's no ^M.

Well, ^M is a representation of the carriage-return character -- the fact that it's 
not being displayed by your editor suggests that, in fact, it *is* a carriage-return 
which is being suppressed on the grounds that it's an invisible position-control 
character.

Look for an option in your editor to display invisible characters, or a handy 
utility that will strip out unwanted characters.  (Sorry, I'm not a UNIX guru so can't 
suggest anything more concrete!)

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Bizarre problem.

2002-02-21 Thread Andres Plaza R.

Hi Mike!

On Thu, 21 Feb 2002, Ford, Mike   [LSS] wrote:

 Well, ^M is a representation of the carriage-return character -- the fact that it's 
not being displayed by your editor suggests that, in fact, it *is* a carriage-return 
which is being suppressed on the grounds that it's an invisible position-control 
character.

 Look for an option in your editor to display invisible characters, or a handy 
utility that will strip out unwanted characters.  (Sorry, I'm not a UNIX guru so 
can't suggest anything more concrete!)

Yep, I know that. I edited the configure file in vi (the best
editor in UNIX :-) ), but the character didn't appear! So I used the
dos2unix program (that erase the ^M character from the files) but it
didn't find nothing. Any other idea?

I'm very surprised that the only person with that problem is me...
And I don't think I'm soing something very particular.

Thanks again...
-- 

Andres Plaza R.
 [EMAIL PROTECTED]
  http://la.mafia.cl/aplaza


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php