Trying to build FreeType ...

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
chiwaw
Posts: 15
Joined: Sun Jul 24, 2005 7:12 am

Trying to build FreeType ...

Post by chiwaw »

I'm trying to build FreeType, following the readme instructions :

Code: Select all

To build and install:

   sh autogen.sh
   LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" \
      ./configure --host psp --prefix=`psp-config --psp-prefix`
   make
   make install
The autogen seems to work fine. The problems happen at the second/third line, which I don't understand to begin with, packed with apostrophes. I manage to type exactly like that but I get a :

Code: Select all

cd builds/unix; ./configure --host psp --prefix=psp-config --psp-prefix
configure: error: unrecognized option: --psp-prefix
Try './configure --help^' for more information.
make: *** [builds/unix/unix-def.mk] Error 1
Looked at the --help, but I'm not sure I understand what this command is even supposed to do.

Any tips or hints would be humbly appreciated ...
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Those aren't apostrophes, they are backquotes (`). If you copy and paste the line you should be fine.
chiwaw
Posts: 15
Joined: Sun Jul 24, 2005 7:12 am

Post by chiwaw »

Thanks for the help, I didn't realized first that I could "Paste" inside Cygwin shell window. Now it looks like it's working.
R2k
Posts: 16
Joined: Fri Mar 17, 2006 10:49 am
Location: México

Post by R2k »

i've problems compiling
when i put this in shell

Code: Select all

./configure --host=psp --prefix=$(psp-config --psp-prefix)
that script show me

Code: Select all

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... Invalid configuration `psp': machine `psp' not reco
gnized
configure: error: /bin/sh ./config.sub psp failed

and it's the same if i put

Code: Select all

./configure --host psp --prefix=$(psp-config --psp-prefix)
R2k
Posts: 16
Joined: Fri Mar 17, 2006 10:49 am
Location: México

Post by R2k »

that was my mistake sorry ... i overwritten the config.sub
FakeBlood
Posts: 3
Joined: Sat Feb 11, 2006 2:59 am

Post by FakeBlood »

I get this when trying to build freetype....

Code: Select all

$ sh autogen.sh
running `aclocal -I .'
running `libtoolize --copy'
autogen.sh: line 15: libtoolize: command not found
error while running `libtoolize --copy'
Post Reply