Mentore wrote:
>> > Did you compile zlib with configure&& make? The OS/2 makefiles are old
>> > and probably need to be updated along with the included DEF.
> Yes, I used configure / make / make install.
Did you run libtoolize to update to an OS/2 fixed libtool? Recent
libtools do everything right then add an extra step that breaks
everything. It's easy to patch but I keep forgetting to make a note of
how. Look at your DLL and import library and DEF and you'll probably
find the DEF has been copied over (or symlinked) the import library or DLL.
Quickest workaround is to just use a static libz. configure
--disable-shared should do it.
>
>> > Did you run make check after compiling but before installing? Watch the
>> > beginlibpath so you use the correct z.dll. After installing (you should
>> > only install into /usr/local) have you got the various /usr/local
>> > directories at the beginning of PATH, BEGINLIBPATH, LIBRARY_PATH,
>> > C_INCLUDE_PATH and CPLUS_INCLUDE_PATH?
> Having gcc 3.3.5 and 4.5.2 together causes me some ambiguity. I have
> got an usr/local452 directory, which I believe contains the libraries
> built with gcc 4.5.2 and pointed by Paul's build environment using GCC
> 4.5.2. Fool me, I must check my configuration.
All the newer GCCs depend on having gcc 3.3.5 installed and the order of
the above variables is important to bring in things correctly. I'd
assume Paul's build environment is set up correctly.
>
> Didn't know, though, that usr/local (or usr/local452, FWIW) must be at
> the beginning of the various path environment variables. Will check
> ASAP (not tonight, I have other things to do:) ).
>
>> > Also does cmake leave any logs that you can examine?
> Didn't read any, surely I must search. My concern regards my ignorance
> of pkg-config and similar tools... Thanks for now!
pkg-config just searches PKG_CONFIG_PATH for its files. eg SET
PKG_CONFIG_PATH=i:/usr/local/lib/pkgconfig;%PKG_CONFIG_PATH% to search
\usr\local first.
Dave