View Single Post
  #5   (View Single Post)  
Old 6th March 2009
bforest bforest is offline
Port Guard
 
Join Date: Aug 2008
Location: East Coast, USA
Posts: 32
Default

Thank you so much for your support "Carpetsmoker"

I made the following changes to ./linden/indra/develop.py:

Code:
setup_platform = {
    'darwin': DarwinSetup,
    'linux2': LinuxSetup,
    'freebsd7': LinuxSetup,
    'win32' : WindowsSetup,
    'cygwin' : CygwinSetup
    }
I received the following error, and am building cmake now:
Code:
root@pcbsd# scripts/Fbuild.sh
Running 'CXX=\'g++-4.1\' cmake -DCMAKE_BUILD_TYPE:STRING=RELEASE -G \'Unix Makefiles\' -DSERVER:BOOL=FALSE -DVIEWER:BOOL=TRUE -DSTANDALONE:BOOL=FALSE -DUNATTENDED:BOOL=FALSE "" \'/root/hippo/source/linden/indra\'' in 'viewer-linux-i386'
cmake: not found
Cleaning 'viewer-linux-i386'
Error: the command 'cmake' exited with status 127
Ok.. now apparently GCC is missing.. They want 4.1 but I only see 4.2 and above in the ports tree

Code:
root@pcbsd# scripts/Fbuild.sh
Running 'CXX=\'g++-4.1\' cmake -DCMAKE_BUILD_TYPE:STRING=RELEASE -G \'Unix Makefiles\' -DSERVER:BOOL=FALSE -DVIEWER:BOOL=TRUE -DSTANDALONE:BOOL=FALSE -DUNATTENDED:BOOL=FALSE "" \'/root/hippo/source/linden/indra\'' in 'viewer-linux-i386'
-- The C compiler identification is GNU
CMake Error at /usr/local/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:30 (MESSAGE):
  Could not find compiler set in environment variable CXX:

  g++-4.1.

Call Stack (most recent call first):
  CMakeLists.txt:16 (project)


CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/root/hippo/source/linden/indra/viewer-linux-i386/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Cleaning 'viewer-linux-i386'
Error: the command 'cmake' exited with status 1
Code:
root@pcbsd# ls -laFd gcc*
drwxr-xr-x  3 root  wheel  512 Feb  6 00:44 gcc-ooo/
drwxr-xr-x  3 root  wheel  512 Feb  6 00:44 gcc295/
drwxr-xr-x  3 root  wheel  512 Feb  6 00:44 gcc33/
drwxr-xr-x  3 root  wheel  512 Feb  6 00:44 gcc34/
drwxr-xr-x  3 root  wheel  512 Feb 21 19:48 gcc42/
drwxr-xr-x  3 root  wheel  512 Feb  6 00:44 gcc42-withgcjawt/
drwxr-xr-x  3 root  wheel  512 Mar  5 22:32 gcc43/
drwxr-xr-x  3 root  wheel  512 Mar  5 22:32 gcc44/
Should I just build gcc42 and after that do I need to remake "cmake" to see it or ...
Attached Files
File Type: py develop.py (22.5 KB, 72 views)

Last edited by bforest; 6th March 2009 at 05:18 PM. Reason: added latest errors..
Reply With Quote