#11730 closed defect (fixed)
antigraingeometry fails to install
Reported by: | dumpforjunk@… | Owned by: | roederja |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.4 |
Keywords: | Cc: | dumpforjunk@…, alexispx@…, nigel@…, roederja | |
Port: |
Description
antigraingeometry fails to install with the following error message: Error: Target com.apple.configure returned: shell command "aclocal -I /usr/share/aclocal" returned error 1 Command output: aclocal: configure.in: 103: macro `AM_PATH_SDL' not found in library
port version is: 1.400
Change History (15)
comment:1 Changed 18 years ago by roederja
comment:2 Changed 18 years ago by roederja
Cc: | dumpforjunk@… added |
---|---|
Milestone: | → Port Bugs |
Owner: | changed from macports-dev@… to jann@… |
Status: | new → assigned |
comment:3 Changed 18 years ago by dumpforjunk@…
It didn't work:
$ sudo port install antigraingeometry ... checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin8.9.1 dyld appending configuration tag "F77" to libtool checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking for an ANSI C-conforming const... yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FREETYPE... yes ./configure: line 20336: syntax error near unexpected token `$SDL_VERSION,' ./configure: line 20336: `AM_PATH_SDL($SDL_VERSION,'
Error: Status 1 encountered during processing.
comment:4 Changed 18 years ago by roederja
OK should work now, I hacked out the dependency on SDL, and added a variant for the case that you want it
comment:5 Changed 18 years ago by dumpforjunk@…
Hey man, why don't you quit your hacking and try to install this shit before you say it's been fixed:
---> Configuring antigraingeometry Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_antigraingeometry/work/agg-2.5" && CXXFLAGS=-I/opt/local/include ./configure --prefix=/opt/local" returned error 2 Command output: checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin8.9.1 dyld checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin8.9.1 dyld appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes ./configure: line 20089: syntax error near unexpected token `FREETYPE,' ./configure: line 20089: `PKG_CHECK_MODULES(FREETYPE,'
Error: Status 1 encountered during processing.
comment:6 Changed 18 years ago by roederja
Of course I tested it and it worked, but I have other ports installed that might lead to different results. I even had somebody else confirm that it worked. That it failed for you might have been caused by an upgrade to the freetype library. All I can tell you is to upgrade freetype and try again.
comment:7 Changed 18 years ago by dumpforjunk@…
Why do I need to even worry about package dependencies, or figure out what needs to be updated when I want to install a new package? Why do I even want to use MacPort if it can't do these things for me? I'm using freetype 2.3.3_0. I assume this is the latest MacPort release...
comment:8 Changed 18 years ago by nigel@…
I can also report this problem baulking at freetype on my PowerBook G4 (PPC). The version of freetype I have installed on the PPC is 2.3.3_0. This is reported on PPC as the latest.
However, on my MacBook Pro (Intel) antigraingeometry 2.5_0 is installed ok. On my Intel the freetype installed is 2.3.2_1. This is reported on Intel as the latest?
Both computers are running port version 1.400.
I hope that helps. For me this is a blocker on PPC.
comment:9 Changed 18 years ago by alexispx@…
I also have the problem on my MacBook Pro (Intel), freetype @2.3.3_0, macports 1.400 .
... checking for an ANSI C-conforming const... yes ./configure: line 20089: syntax error near unexpected token `FREETYPE,' ./configure: line 20089: `PKG_CHECK_MODULES(FREETYPE,' Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_antigraingeometry/work/agg-2.5" && CXXFLAGS=-I/opt/local/include ./configure --prefix=/opt/local" returned error 2 Command output: checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-except ... checking for an ANSI C-conforming const... yes ./configure: line 20089: syntax error near unexpected token `FREETYPE,' ./configure: line 20089: `PKG_CHECK_MODULES(FREETYPE,' Warning: the following items did not execute (for antigraingeometry): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing. :~$
here is my complete configure output message http://dpaste.com/hold/8219/
comment:10 Changed 18 years ago by roederja
Cc: | alexispx@… nigel@… added |
---|
That's really weired, I now added autoconf as build dependency explicitely. It's not a PPC / intel problem, since it works for me on PPC.
comment:11 Changed 18 years ago by macports_dharland@…
I've also been unable to build antigrain for some time and have now found a fix to the above problem by trawling the net for similar build errors. It appears that you need to have pkgconfig installed
eg
sudo port -c install antigraingeometry
./configure: line 20089: syntax error near unexpected token `FREETYPE,' ./configure: line 20089: `PKG_CHECK_MODULES(FREETYPE,'
sudo port -c install pkgconfig sudo port clean --all antigraingeometry sudo port -c install antigraingeometry
Builds and installs fine!!
Not really knowing much about port, I assume that means that pkgconfig needs to be listed as a dependent for antigraingeometry??
comment:12 Changed 18 years ago by roederja
Hey, yes, I just figured this out myself. I added pkgconfig as a build dependency, so everything should work now. Sorry for the inconvenience...
Any objections, or can I close this bug now ?
comment:13 Changed 18 years ago by macports_dharland@…
With pkgconfig added to depends_build I can confirm it now works for me on PPC macports 1.40. Thanks very much jann!
comment:14 Changed 18 years ago by roederja
Cc: | jann@… added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
It seems to require the latest automake from macports. I committed a fix, can you check now ?