Reply to Re: Unable to compile PHP 5.2.4 with mysql extension on Hp-UX 11.11

Your name:

Reply:


Posted by Rick Jones on 11/09/07 00:29

> > #/usr/local/mysql/bin/mysql --version
> > /usr/local/mysql/bin/mysql Ver 14.12 Distrib 5.0.37, for hp-hpux11.11
> > (hppa2.0w) using readline 5.0
> > #
> >
> > anyideas? I've searched all over and haven't found anything on
> > t'internet.


> Offhand I would say your xml2 library is not the correct format for
> your compiler.

Sounds like something worth checking via the file command.

PA2.0W implies 64-bit so the /usr/local/mysql/bin/mysql binary and
anything it has as a dependency is likely 64-bit (one cannot mix
32-bit and 64-bit objects in the same running image).

The HP ANSI C compiler defaults to making a 32-bit binary, even on a
system running a 64-bit kernel. I don't use gcc on UX so I'm not sure
if a purportedly 64-bit gcc compiler produces 64-bit objects by
default or not, but I suppose a quick "Hello World" test could check
that via the file command on the resulting a.out.

rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация