Mercury source retrieval problem in Ubuntu 9.10

Discussion related to the organization of the source code, repository and code-level/compiler optimization.

Moderator: coordinators

Mercury source retrieval problem in Ubuntu 9.10

Postby geoadel » Sun Nov 08, 2009 3:31 pm

Hi :-)

I was trying to follow the linux build-tutorial here
http://www.luxrender.net/wiki/index.php ... g_on_Linux

but when I try to retrieve the sourcecode with Mercury, it starts quite promising with
hg clone http://www.luxrender.net/hg/lux lux
real URL is http://src.luxrender.net/lux
Fordere alle Änderungen an
Füge Änderungssätze hinzu
Füge Manifeste hinzu
Füge Dateiänderungen hinzu


Excuse the German interface, roughly translated
hg clone http://www.luxrender.net/hg/lux lux
real URL is http://src.luxrender.net/lux
Retrieve all changes
Add changes
Add manifest
Add file changes


But there it then stops (now since three hours). I had a try before and interrupted it after 15 minutes with this result:
^Ctransaction abort!
rollback completed


The download directory itself does not show any sign of activities...

I am using Ubuntu Karmic 9.10 if that is important. Any help would be apreciated. I am now trying the weekly build, but I would love to build it myself :-)

Thank you in any case for this wonderful renderer!
geoadel
 
Posts: 4
Joined: Sun Nov 08, 2009 2:05 pm

Re: Mercury source retrieval problem in Ubuntu 9.10

Postby dougal2 » Sun Nov 08, 2009 3:36 pm

The initial transfer of 'file changes' can take quite a while - but I've never known it take that long (can be 10-20 mins?).

What's your internet connection speed/reliability like ?
User avatar
dougal2
Developer
 
Posts: 3129
Joined: Mon Jan 14, 2008 7:21 am

Re: Mercury source retrieval problem in Ubuntu 9.10

Postby geoadel » Sun Nov 08, 2009 3:40 pm

Connection is rough, I usually get between 200 and 900 kb/second download speed, but sometimes the speed drops to zero for a few seconds to regain speed afterwards again - the connection is never dropped though. I will start it again and see what happens.... Thanks for the fast response, dougal2 :-)
geoadel
 
Posts: 4
Joined: Sun Nov 08, 2009 2:05 pm

Re: Mercury source retrieval problem in Ubuntu 9.10

Postby Lord Crc » Sun Nov 08, 2009 3:55 pm

If you just want to compile, you may as well just download the source code tree without all the mercurial history by using the "zip" or "bz2" links on the right hand side of the "menu" when browsing http://src.luxrender.net/lux/
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4886
Joined: Sat Nov 17, 2007 2:10 pm

Re: Mercury source retrieval problem in Ubuntu 9.10

Postby geoadel » Sun Nov 08, 2009 5:06 pm

Thanks Lord Crc,

tried that (after mercury now ran again for half an hour and (at least thats how it seems to me) downloaded more than 200 MB). Now I am getting
CMake Error at CMakeLists.txt:110 (MESSAGE):
Could not find Boost


although I used the install command
sudo ./bjam install


Boost seems to be located under
/usr/local/include/boost-1_39


but I did not find the right line inCMakeLists.txt to point it towards that directory.

Any advice would again be warmly welcome :-)
Best regards
geoadel
 
Posts: 4
Joined: Sun Nov 08, 2009 2:05 pm

Re: Mercury source retrieval problem in Ubuntu 9.10

Postby geoadel » Sun Nov 08, 2009 5:21 pm

I apologize in advance for the number of posts about the same subject but I made a slight progress (well hopefully).

I used the following command (again found on the same page in the wiki and now it goes beyond boost)
BOOST_ROOT=/usr/local/include/boost-1_39 cmake ../lux-e7a5af3157c6/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Building for target i486-linux-gnu
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- OpenGL include directory: /usr/include
-- Boost version: 1.39.0
-- Found the following Boost libraries:
-- thread
-- program_options
-- filesystem
-- serialization
-- iostreams
-- regex
-- system
-- Boost library directory: /lib
-- Boost include directory: /usr/local/include/boost-1_39
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Found TIFF: /usr/lib/libtiff.so
-- Found TIFF: /usr/lib/libtiff.so
-- Found JPEG: /usr/lib/libjpeg.so
-- JPEG include directory: /usr/include
-- Found wxWidgets: TRUE
-- wxWidgets include directory: /usr/lib/wx/include/gtk2-unicode-release-2.8/usr/include/wx-2.8
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Warning : could not find Qt - not building Qt GUI
CMake Error at CMakeLists.txt:858 (INSTALL):
install TARGETS given target "luxrenderqt" which does not exist in this
directory.


Now it seems to require luxrenderqt which seems to be satisfied after
sudo apt-get install libqt4-dev

which I just guessed because it was not in the prerequisites-list in the wiki :-)

Now this step was successfull and I was able to start the make-process (which has gone past the 'scanning for dependencies of target lux' without errors, so I am quite confident).

I will update this post, in case the 'make' was successful and otherwise post the next problem I encounter ;)

Thank you very much for your help, it IS greatly appreciated and motivated me to keep trying!

Edit:
Seems to have worked :D I can start the luxrender GUI in all its glory! Thanks...
geoadel
 
Posts: 4
Joined: Sun Nov 08, 2009 2:05 pm


Return to Organization & Optimization

Who is online

Users browsing this forum: No registered users and 1 guest