#17859 closed defect (invalid)
Base - Snort web frontend ... error to build gd2
Reported by: | christoph_murauer@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Snort, Base | Cc: | |
Port: | gd2 |
Description (last modified by mf2k (Frank Schima))
Hello !
I have tried to build Base (the web frontend for Snort) and got the following error message.
---> Applying patches to gd2 Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35" && patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gd2/files/patch-gdft.c.diff'" returned error 1 Command output: patching file gdft.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file gdft.c.rej Error: The following dependencies failed to build: gd2 Error: Status 1 encountered during processing.
This is the message after the second try. Is there a way to find self more out about errors like this ?
Thanks for your answer.
Change History (6)
comment:1 follow-up: 2 Changed 16 years ago by mf2k (Frank Schima)
Cc: | markd@… removed |
---|---|
Description: | modified (diff) |
Keywords: | gd2 removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | gd2 added; base @1.3.9 removed |
comment:2 Changed 16 years ago by christoph_murauer@…
Replying to macsforever2000@…:
This is really a gd2 issue. I'm assigning this to the maintainer of that port.
gd2 builds fine for me. I suggest the following:
sudo port selfupdate sudo port clean --all gd2 sudo port install base
Hello !
Thanks for the answer. It is the same as before.
sudo port selfupdate ... brings ... MacPorts base version 1.700 installed, Downloaded MacPorts base version 1.700, The MacPorts installation is not outdated so it was not updated
sudo port clean --all gd2 ... brings ... ---> Cleaning gd2
sudo port install base ... brings again ...
---> Fetching gd2 ---> Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/ ---> Verifying checksum(s) for gd2 ---> Extracting gd2 ---> Applying patches to gd2 Error: Target org.macports.patch returned: error copying "/opt/local/share/libtool/config/ltmain.sh": no such file or directory Error: The following dependencies failed to build: gd2 Error: Status 1 encountered during processing.
Tried on Leopard 10.5.6, Xcode 3.1.2, MacPorts 1.700.
comment:4 Changed 16 years ago by christoph_murauer@…
Hello !
For others who had the same problem. sudo port installed ... shows a libtool @1.5.26_0 (active)
I used sudo port -v upgrade libtool ... to upgrade libtool to libtool @2.2.6a_0 (active) - the old is still there (but not active) so it should not be a problem.
After sudo port clean --all gd2 and sudo port install base ... it works.
Thanks for the fast answer - please close the ticket - thanks.
comment:5 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Glad you got it working!
This is really a gd2 issue. I'm assigning this to the maintainer of that port.
gd2 builds fine for me. I suggest the following: