make Error 1 installing FreeType

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
iban

make Error 1 installing FreeType

Post by iban »

Hi, newbie here. The short version is, make returns

Code: Select all

make: *** [/web/TWiki-4.1.1/tmp/freetype-2.1.10/objs/libfreetype.la] Error 1
The background to my problem is, I'm trying to use a plugin for TWiki that uses ImageMagick's convert to create PNG files from SVG. I resolved a number of issues, and got to the point where the only error from convert is "FreeType library is not available", so I set about trying to install FreeType on my Solaris 10 server.

./configure seems to run okay, though at the very end it says "make: Nothing to be done for `unix'."

make, however, returns this error :

Code: Select all

make: *** [/web/TWiki-4.1.1/tmp/freetype-2.1.10/objs/libfreetype.la] Error 1
I don't know what Error 1 is, but the file does not exist. Neither does /web/TWiki-4.1.1/tmp/freetype-2.1.10/objs/.libs/libfreetype.a, and I don't understand why make would be trying to use two files that were not in the package I got from sourceforge (I checked).

I have very little experience with or comprehension of compiling programs, so don't assume I know much about it :b
iban

Re: make Error 1 installing FreeType

Post by iban »

Hi, since it's been over a year I thought I'd refresh this post. I still have not resolved this issue, and thus could still use help with it.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: make Error 1 installing FreeType

Post by magick »

The ImageMagick configure script gets the freetype header and object files dependencies from the freetype_config script. Check this script and see it points to the non-existent /web/TWiki-4.1.1 directory.
iban

Re: make Error 1 installing FreeType

Post by iban »

Hmm, it's been too long :) I remember the error, but that path is very odd; I have no idea why it would have been working there. So I reran ./configure, then reran make -d, and it seemed to go okay until this:

Finished prerequisites of target file `ltdl/libltdl.la'.
Must remake target `ltdl/libltdl.la'.
/bin/bash ./libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -W -D_REENTRANT -pthreads -no-undefined -version-info 4:0:1 -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/lib -R/usr/local/lib -lfreetype -lz -o ltdl/libltdl.la ltdl/ltdl.lo -ldl
Putting child 0x081af980 (ltdl/libltdl.la) PID 27472 on the chain.
Live child 0x081af980 (ltdl/libltdl.la) PID 27472
libtool: link: warning: library `/usr/local/lib/libfreetype.la' was moved.
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x081af980 PID 27472
make: *** [ltdl/libltdl.la] Error 1
Removing child 0x081af980 PID 27472 from chain.
Post Reply