[libGD] #165 [Comment added] Build failure on mingw - multiple versions of libgd including 2.0.36RC1

[email protected] Mon, 5 May 2008 10:13:49 +0200 (CEST)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#165 - Build failure on mingw - multiple versions of libgd including 2.0.36RC1
User who did this - Garthy (Garthy)

----------

> > Tried a CVS checkout as of a few hours ago. No luck with either autoconf or cmake. Same style of error for the autoconf build (dllimport problems).

> I do not get this error but that's easy to fix. Maybe a MSys specific requirement.

A similar error also occurs in 2.0.33 and 2.0.36RC1. If there's an easy solution you know of for the dllimport issue, please do share, as it would fix my problems.

> > cmake is incredibly cryptic, can't say my first experience with it has been positive. Building cmake itself, on the other hand, was quite easy- just the standard ./configure –prefix=??, make, make install.

> You don't need to build cmake on windows, simply install. Then you can call cmakesetup, select the src tree, select mingw as target and that's it :) All can be done using a normal DOS console (cmd.exe) without using MSys.

Building cmake from source wasn't hard, as mentioned. I just found *using* it to be difficult. I'm not sure if the build from source generated the GUI- I haven't seen it yet. If you think the GUI interface might be more successful, I can try this out.

> I'm writing a tutorial in our wiki (documentation section). It should help to get it work.

I'll keep an eye out.

> > I couldn't find a way to persuade it to find the PNG library

> If the PNG lib and include direcorties are in the CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH, it should find it. Have you tried using what I describe here:

> http://cvs.php.net/viewvc.cgi/gd/libgd/docs/README.CMAKE?revision=1.4&view=markup

My attempts to set CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH can be found in the bi-win-gd-cvs-any file above. I used README.CMAKE for ideas when I was experimenting. Unfortunately I was unsuccessful. My best attempt can be found in my previous post.

----------

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=165#comment547

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.