Operating System - HP-UX
1827853 Members
1749 Online
109969 Solutions
New Discussion

php -> mysql -> perl ->gcc chasing down make debug

 
Masaki Birchmier
Frequent Advisor

php -> mysql -> perl ->gcc chasing down make debug

Hi
I am in the process of debugging a php make. Make completes using the built-in mysql support
"--with-mysql"
but If I specify my own support files
"--with-mysql=/usr/local/mysql"
it fails with
...
int main() {
char mysql_error();
mysql_error()
; return 0;}

(I want to use my local mysql support files so I can use other server modules that also use mysql.)

I tried this with both 32 & 64 bit binaries of mysql from the HP-UX porting center (mysql works fine) and they both fail with the same results.

So, I tried building my own mysql binaries from the source, but make fails with
...
No suffix list.
../../extra/comp_err czech/errmsg.sys
Usage: ../../extra/comp_err [?][-I][-v] fromfile[s] tofile
*** Error exit code 255

Anybody have any ideas?

I am now trying to verify my perl and gcc installation. How can I tell if I have the 32 or 64 bit version of perl and gcc?

Thanks,
Masaki