LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   (Ubuntu Gutsy) Need help building svn files (https://www.linuxquestions.org/questions/programming-9/ubuntu-gutsy-need-help-building-svn-files-628145/)

spaceboy909 03-14-2008 08:52 PM

(Ubuntu Gutsy) Need help building svn files
 
Hi all. I'm needing to report a bug in Glade, but the site recommended that the latest build be tested first to see if has already been fixed.

I've downloaded the source, and there is an install guide, but since I'm brand new at this, it's a bit confusing and I want to make sure I don't overwrite my existing Glade install.

Basically I just want to keep the installations seperate. Any help is appreciated.

BrianK 03-14-2008 09:41 PM

Quote:

Originally Posted by spaceboy909 (Post 3089083)
Hi all. I'm needing to report a bug in Glade, but the site recommended that the latest build be tested first to see if has already been fixed.

I've downloaded the source, and there is an install guide, but since I'm brand new at this, it's a bit confusing and I want to make sure I don't overwrite my existing Glade install.

Basically I just want to keep the installations seperate. Any help is appreciated.

without any more information (and without me downloading and installing it myself), here's some basic info.

typically packages you build from source require you to:

cd src_dir
./configure
make
make install

if you want to install in a non-standard place, you would change that sequecne to:

cd src_dir
mkdir /tmp/tmpGlade
./configure --prefix=/tmp/tmpGlade
make
make install

this way, it will put everything that would normally go into /usr into /tmp/tmpGlade.

this assumes it's not a binary install, but if it were a binary install, you probably wouldn't have ./configure & a makefile, rather, some install.sh that may take an argument of --prefix. Check the install readme.

Good luck!

spaceboy909 03-15-2008 01:24 AM

Thanks for the help. I've run into a wee problem though.

First, I got a 'no such file' error for './configure'. Looking in the src directory, the only configure file was 'configure.ac'. Did some searching and determined that I needed to run autoconf, which uses 'configure.ac', to generate the 'configure' script.

So I did that. First try yielded macro errors. Tried again and it 'took'.

But now, running 'configure' gives me this error: cannot find install-sh or install.sh in "." "./.." "./../.."

Well, the only 'install' file is named just that; no suffix attached. And that's where I'm stuck.

spaceboy909 03-15-2008 02:13 AM

Ok, got it! I've spent half the day on this thing, but finally it's done.

After more reading and digging, I found out that I should run the autogen.sh script, and that would install the install-sh file and pretty much take care of everything. And it did. I used the same --prefix=PATH with autogen.sh and everything is in place and the program runs!


All times are GMT -5. The time now is 02:23 AM.