|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Installing Freetype2
I've been reading over these 2 threads and both times rycamor mentions he got freetype installed.
http://forums.devshed.com/t26304/s.html http://forums.devshed.com/t32564/s.html In the second one you said Quote:
So what excatly are the base X libaries I need to install? I've not had a need to install X yet as all I use FreeBSD for is servers. Current config FreeBSD 5.1 Trying to get GD installed and running with PHP 5 Need any other info?
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me Last edited by Viper_SB : June 2nd, 2004 at 10:30 PM. |
|
#2
|
||||
|
||||
|
Heh, last time I installed GD by hand, it was a royal b*tch, cuz I had to install libpng, libfreetype, libxpm etc. first and the whole process took me a few hours to get straightened out. The fastest (and probably best) way to install freetype (or freetype2) is to use ports and you can find them on:
/usr/ports/print/freetype /usr/ports/print/freetype2 If installing GD is your aim, then it might be better to go straight to: /usr/ports/graphics/gd and typing: make install Saves you quite a bit of grief that way.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
||||
|
||||
|
Ah damn it had a whole message typed out then I notice that I didn't close my quote in the above message so I go and edit it. Bahhhhhhhhhhhhhhhhh ok I'll retype it
.I am installing via ports but it still dies when installing Freetype2, the error I'm getting is. Code:
cc -I./objs -I./builds/ansi -I./include -O -pipe -mcpu=pentiumpro -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -o objs/ftsystem.o src/base/ftsystem.c /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x8e): undefined reference to `main' gmake: *** [objs/ftsystem.o] Error 1 *** Error code 2 I have gmake installed, not 100% sure if it's working or not. But I can do gmake -h and it gives a list of help items so I know it runs at least. Is there any way not to have to install Freetype? I know when installing GD I did make WITHOUT_X11=yes so at least it doesn't ask for all the other X11 stuff. But I think Freetype wants it so is there an option to turn it off for it? |
|
#4
|
||||
|
||||
|
Anyone got any ideas?
|
|
#5
|
||||
|
||||
|
Can you try installing freetype2 from its own port first. Also, have you cvsup'd to the latest ports versions. From that above error message, it appears that the compiler is trying to make an executable out of freetype2, instead of a library (which is why the compiler is harping about a missing main() function).
|
|
#6
|
||||
|
||||
|
Yes to both questions, oh I might add this is within a jail. I maybe able to try from the main system, but it isn't my server. I can make jails and test a ton with them because they can just be deleted and started over. But the main system is kinda iffiy what I can do with it since there are a few of us using it for different things.
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Installing Freetype2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|