building source code, getting a little lost in it
Hello,
I am, obviously, a newbe with Linux and have to build the source code for a text-to-speech application (Flite). I am a member on a senior project team where the project is to assemble a handfull of applications together and then port them to a development board which is linux based so we are running the desktop with Linux to speak to the board. Currently running Fedora In the last step of this chain of apps we run a TTS (Flite-1.3 from CMU). Where I am getting lost is building the Flite source code into an executable program. The documentation is pretty much limited to: Quote:
After "make" it came back with the command line and I did not see anything that explicitly looked like an error. Now what do I do? After "make" I still need to complie right? Where should I look for the file(s) which I need to compile? Thanks for any help |
Make compiles the files. To install the program on the system run this after running "make":
Code:
make install |
thanks saman, looks like I now have a permissions problem
came back with "cannot create directory" and "[install] Error 1" -- have to figure out how to get to the user account with that level permission |
You have to become root (administrator). To do this:
Code:
su - Code:
sudo bash Code:
make install |
thank you again saman
now I've hit my head on the classic error, a file or directory is missing midway thru the install which stops it and returns "Error 2" Is there a way to find out what these error messages mean? |
I've noticed that this source code contains many folders and at least 4 of the subfolders contain makefiles. Would I need to go to each folder and run "make"?
|
Quote:
If you want, post some output here, but put it between [code ] [/code ] tags (remove the space in those) |
Thanks Komakino, and your signature is great.
I am running the whole process again with a new download copy in a clean folder. When I configure it runs through the "checking" and ends up with a bunch of "no" returns. Mainly from my lack of a sound card. Watching the make I saw no errors occur. There was, however, a plethora of warnings. With make install I get: Code:
Installing Code:
tar zxvf filename.tar.gz |
You have to run the command is the following order:
Code:
./configure |
Yes as I understand it
all done while root Code:
tar zxvf flite.tar.gz |
There is not space between "./" and "configure", but I think that a typo:)
Othrwise, it looks correct. You might need to add some configure parameters, don't know. Look at "./configure -h". |
Yup, that space was a typo.
I dove back into the flite readme file and found that it wanted GNU make. I have no clue whether this computer is running it or what the difference is in the make that is on here so I installed the one off the GUN ftp. GNU make installed without a problem. I am now retrying the install. Thank you all for bearing with me and my newbe questions |
You already have make installed, otherwise you would not be able to run "make".
|
All times are GMT -5. The time now is 03:39 AM. |