Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Toby Goodbar

macrumors 6502
Original poster
Sep 8, 2006
400
0
I don't know anything bout scripts. I've been able to figure out how to port utorrent to mac using darwine and x11 following a step-by-step, but it gives me an error seeming to reference a lack of freetype being installed.

I dloaded free type but have no idea how to install it now. Is there any package installer or otherwise available enabling automatic installation. Or maybe someone has some step by step on how to install?
 
This isn't too hard to do. You need the Developer Tools installed. Open a Terminal window, type cd, then a space, then drag the freetype directory to the terminal window. Press Return to execute the command. That done, type the following, pressing Return after each command and waiting until you get a prompt:

Code:
./configure
make
sudo make install
That last one will ask you for your administrator password before it runs. You won't be able to see what you are typing - do not worry, this is normal, and is done for security.
 
Ok, I did it, but after entering "./configure" it says: bad interpreter : no such file or directory

I tried using same method to install "gnu make" but when doing it, it eventually say "configure : error : no acceptable c compiler found in $path"

Im not sure exactly how to tell if developer tools are installed but a same titled directiry exists in the apple folder and I know I've installed x11.

BTW I really appreciate the time & help w/this
 
Ok, I did it, but after entering "./configure" it says: bad interpreter : no such file or directory

I tried using same method to install "gnu make" but when doing it, it eventually say "configure : error : no acceptable c compiler found in $path"

Im not sure exactly how to tell if developer tools are installed but a same titled directiry exists in the apple folder and I know I've installed x11.

BTW I really appreciate the time & help w/this

This won't work unless you've installed the Developer Tools. It looks like you haven't, judging by the error messages you're getting. If you're using Leopard they're on the DVD. If you're on an earlier version of Mac OS X you can download the latest version of the tools from Apple's Developer Connection site. Warning, the file is about 900 MB and will take a while to download.

You can tell if you have installed the tools by looking for a folder called Developer in the root of your hard drive. It will only be there if the tools are installed.
 
Ok I' ve done everithing U said, but still I have this problem:
Thanks for helping




Macintosh:~ silviasanroma$ cd /Users/silviasanroma/Desktop/Toterias\ y\ curriculums/freetype/freetype-2.3.11/docs/glyphs/
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$ . / configure
-bash: .: /: is a directory
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$ make
make: *** No targets specified and no makefile found. Stop.
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$ sudo make install
Password:
make: *** No rule to make target `install'. Stop.
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$
 
Ok I' ve done everithing U said, but still I have this problem:
Thanks for helping




Macintosh:~ silviasanroma$ cd /Users/silviasanroma/Desktop/Toterias\ y\ curriculums/freetype/freetype-2.3.11/docs/glyphs/
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$ . / configure
-bash: .: /: is a directory
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$ make
make: *** No targets specified and no makefile found. Stop.
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$ sudo make install
Password:
make: *** No rule to make target `install'. Stop.
Macintosh:~/Desktop/Toterias y curriculums/freetype/freetype-2.3.11/docs/glyphs silviasanroma$

Do you have spaces in your code? cd to the directory and then enter "./configure". Syntax is critical.
 
I am also trying to install Freetype on my Mac. I have been trying to open a file with WineHelper and it says I need to install Freetype

wine: creating configuration directory '/Users/Nat/.wine'... Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.

When trying to install Freetype in a terminal, it reads

/Users/Nat/Desktop/freetype-2.3.11/builds/toplevel.mk:43: *** FreeType's build system needs a Make program which supports $(value).

I read in this thread that I will need the Developer Tools... I do have these, but I tried to open XCode and it says it cannot be used with my version of OS X.
What is it that I need to be doing to get Freetype working so Wine will cooperate? I've been putting quite a bit of time into this, and I'm rather new to scripts. Help is greatly appreciated. :)
 
Open Terminal (in Utilities) and enter

Code:
more /usr/X11/lib/pkgconfig/freetype2.pc

Please post the result, which should tell us what version of freetype is currently on your system.
 
Code:
prefix=/usr/X11
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: 9.20.3
Requires:
Libs: -L${libdir} -lfreetype
Libs.private: -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
Cflags: -I${includedir}/freetype2 -I${includedir}
/usr/X11/lib/pkgconfig/freetype2.pc (END)

That is what came up when I entered your code. I am currently trying to install 2.3.11.
I went onto the Mac Developer site yesterday and downloaded the proper Xcode for my computer, which has helped, but I am still struggling with the installation.
 
Code:
prefix=/usr/X11
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: 9.20.3
Requires:
Libs: -L${libdir} -lfreetype
Libs.private: -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
Cflags: -I${includedir}/freetype2 -I${includedir}
/usr/X11/lib/pkgconfig/freetype2.pc (END)

That is what came up when I entered your code. I am currently trying to install 2.3.11.
I went onto the Mac Developer site yesterday and downloaded the proper Xcode for my computer, which has helped, but I am still struggling with the installation.

What version of OS X do you have? What version of X11? You shouldn't be installing new versions of freetype on your own (unless you really know what you're doing).

You can install freetype via Macports. You can also pick up a newer version by installing a newer X11 from XQuartz.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.