text

swcrissman
Unregistered
 
Post: #16
The builds/unix directory is there, and has the file with the proper permissions.

There is no /bin/sh directory on my machine, let alone any scripts in it. Is that the problem?

Spencer
Quote this message in a reply
blb
Unregistered
 
Post: #17
/bin/sh is actually the shell executable, not a directory; if this is really missing, that's bad. If missing, is /bin/bash also missing?
Quote this message in a reply
swcrissman
Unregistered
 
Post: #18
My bad. /bin/sh is there alright. I have a ~/bin folder, and somehow I must have cd'd into that when looking before.

So, no, that's not it either. Dang.

Spencer
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #19
I just went to
http://prdownloads.sourceforge.net/freet...2?download
to get the 2.0.9 release. Safari downloaded it to my desktop, bunzip2'ed it and untar'ed it. Then I went to the terminal:

Code:
[bauer:~] keith% cd ~/Desktop/freetype-2.0.9/
[bauer:~/Desktop/freetype-2.0.9] keith% ./configure
(here it prints lots of junk)
[bauer:~/Desktop/freetype-2.0.9] keith% make
(here it prints lots more junk)

Then you can either
Code:
sudo make install
, or
Code:
cp objs/.libs/libfreetype.a ~/Desktop/
and add that file to your project.
Quote this message in a reply
blb
Unregistered
 
Post: #20
Quote:Originally posted by swcrissman
My bad. /bin/sh is there alright. I have a ~/bin folder, and somehow I must have cd'd into that when looking before.

So, no, that's not it either. Dang.

Spencer

At least you're not missing /bin/sh, that could be a bad sign...anyway, since configure is a /bin/sh script, does
Code:
cd /some/path/freetype-x.y.z/
sh configure
work?
Quote this message in a reply
swcrissman
Unregistered
 
Post: #21
Ok, I downloaded the file (again), and went through it. Here are my results:
Code:
[cblmdmYY-ZZZ-XX-YYY:~/Desktop] spencer% cd freetype*
[cblmdmYY-ZZZ-XX-YYY:~/Desktop/freetype-2.1.4rc2] spencer% sh configure
: command not found
configure: line 61: syntax error: unexpected end of file
[cblmdmYY-ZZZ-XX-YYY:~/Desktop/freetype-2.1.4rc2] spencer% ls
ChangeLog    Jamrules     README.UNX   descrip.mms  include      src
Jamfile      Makefile     builds       devel        install      tests
Jamfile.in   README       configure    docs         objs
[cblmdmYY-ZZZ-XX-YYY:~/Desktop/freetype-2.1.4rc2] spencer% ls -l configure
-rwxr-xr-x  1 spencer  staff  1535 Mar 16 17:42 configure
[cblmdmYY-ZZZ-XX-YYY:~/Desktop/freetype-2.1.4rc2] spencer% ./configure
./configure: Command not found.

I really don't see anything done differently than what you've all suggested, but maybe I'm blind...

Spencer
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #22
Use 2.0.9 rather than 2.1.4.
Quote this message in a reply
henryj
Unregistered
 
Post: #23
that's pretty weird. There must be something messed up on your system.

I'll post the static lib some where tonight for you to download.
Quote this message in a reply
henryj
Unregistered
 
Post: #24
Quote this message in a reply
swcrissman
Unregistered
 
Post: #25
Well, after much strangeness, here is that status:

2.1.3 and 2.1.4rc2 did not work. Doing the same things with version 2.0.9 did work. OSC, was there a reason for suggesting that over the others, or was that just good luck?

I still do not understand why I would end up with the results I did for the other versions. The errors I got back did not seem logical, IMHO.

In any case, later tonight I will try out the library and make sure I'm able to make use of it.

Thanks everyone for your time, help, and patience.

Spencer
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #26
I just know that there's been a few times I've tried a later version than 2.0.9 and had problems (not, I think, the problems you've described, but it did seem like a reasonable suspicion...).

I also thought it was strange that 2.0.9 would have worked so easily for me and not at all for you.
Quote this message in a reply
Post Reply