Discussion:
Ping Diaper Boi need help zlib.h compile error g++
(too old to reply)
Meat Plow
2004-11-28 19:35:21 UTC
Permalink
Since you are the SELF PROCLAIMED SMARTEST FUCKING PERSON EVER in
alt.2600, naturally I would come to you for a simple g++ problem. Let's
see you work your magic oh great MASTER OF EVERYTHING!!!!!!!!! :-)


Trying to compile an application but keep getting an error saying:

checking for libz... configure: error: not found.
Possibly configure picks up an outdated version
installed by XFree86. Remove it from your system.

Here is where the config file checks for zlib.h

#include<zlib.h>

int
main ()
{

char buf[42];
gzFile f = (gzFile) 0;
/* this would segfault.. but we only link, don't run */
(void) gzgets(f, buf, sizeof(buf));

return (zlibVersion() == ZLIB_VERSION);

;
return 0;
}

My zlib.h file is in /usr/include/zlib.h

Is that the right place? Is the check finding zlib.h ok or do I have an
outdated version as the compiler suggests?

Pretty simple problem for the fucking smartest NETTER on the fucking
planet (you) right Diaper Boi ??? huh????????????? well????????
Meat Plow
2004-11-29 14:55:12 UTC
Permalink
Post by Meat Plow
Since you are the SELF PROCLAIMED SMARTEST FUCKING PERSON EVER in
alt.2600, naturally I would come to you for a simple g++ problem. Let's
see you work your magic oh great MASTER OF EVERYTHING!!!!!!!!! :-)
checking for libz... configure: error: not found.
Possibly configure picks up an outdated version installed by
XFree86. Remove it from your system.
Here is where the config file checks for zlib.h
#include<zlib.h>
int
main ()
{
char buf[42];
gzFile f = (gzFile) 0;
/* this would segfault.. but we only link, don't run */ (void) gzgets(f,
buf, sizeof(buf));
return (zlibVersion() == ZLIB_VERSION);
;
return 0;
}
}
My zlib.h file is in /usr/include/zlib.h
Is that the right place? Is the check finding zlib.h ok or do I have an
outdated version as the compiler suggests?
Pretty simple problem for the fucking smartest NETTER on the fucking
planet (you) right Diaper Boi ??? huh????????????? well????????
Well I guess no answer from teh Diaper Boi answered that question.

LMFAO!!

Loading...