Compiling sources

7 Antworten [Letzter Beitrag]
tius

I am a member!

Offline
Beigetreten: 05/09/2011

I wanted to try installing RawTherapee from source, because that in the repositories crashes all the time, but some commands do not work:

./configure --> says that the directory does not exist (./configure)
make --> says command not found

with the old version of Trisquel I did, for other programs.
Any ideas?

Thanks

Dave_Hunt

I am a member!

Offline
Beigetreten: 09/19/2011

I always install the package, build-essential, before trying to build
anything. The Trisquel repos may also have build dependencies for your
package; use
sudo apt-get build-dep

and your app's name.

The package may specify a particular version of autoconf or automake;
get those, as well? Finally, some packages require that you use the
'./autogen.sh', to make the config files.

lembas
Offline
Beigetreten: 05/13/2010

Perhaps there's a README file or instructions on the web page?

tius

I am a member!

Offline
Beigetreten: 05/09/2011

@ Dave_Hunt

Ok, I used apt-get build-dep
has installed something but then I dn'oot understand...

@ lembas

There is a kind of how-to, but it is too difficult for me. I need instructions fool-proof, I do not understand anything.

Thanks anyway to both.

bob328468365
Offline
Beigetreten: 06/10/2013

Try
sudo apt-get install build-essential

quantumgravity
Offline
Beigetreten: 04/22/2013

Please post this instructions here, perhaps we can help you understand them.

tius

I am a member!

Offline
Beigetreten: 05/09/2011

@ bob328468365

Already done.

@ quantumgravity

cd ~ hg clone https://rawtherapee.googlecode.com/hg/ rt_repo

cd ~/rt_repo && hg pull && hg update;
majorVersion=`hg parents --template '{latesttag}'`; majorVersion=${majorVersion%%.*};
rm -rvf ~/rt_repo/rawtherapee; make clean; ./clean.sh;
cpuCount="`grep -c 'processor' /proc/cpuinfo`" || cpuCount="1";
cmake -DCMAKE_BUILD_TYPE=release -DPROC_TARGET_NUMBER:STRING=1 -DCMAKE_INSTALL_PREFIX=rawtherapee -DBUILD_BUNDLE=ON -DBINDIR=. -DDATADIR=. -DCACHE_NAME_SUFFIX=${majorVersion} &&
make -j${cpuCount} install &&
mv -v ~/rt_repo/rawtherapee ~/

thanks

tius

I am a member!

Offline
Beigetreten: 05/09/2011

I solved in another way.
The cause of the crash was a picture "corrupt" in the folder. Discard the picture everything is back to work.

Many thanks to all :-)