Linux-Noob Forums
How do I install CMake - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Compiling (https://www.linux-noob.com/forums/forum-29.html)
+---- Thread: How do I install CMake (/thread-2455.html)



How do I install CMake - Complitric - 2005-08-30


[/url][url=http://www.cmake.org/HTML/Install.html]http://www.cmake.org/HTML/Install.html

 

I have downloaded the program, and extracted both the initial file, and the included

tar. The tar extracted to /usr/local/

 

The instructions then tell me to do ./bootstrap? I typed that and there is no such

file. I did a updatedb, and a locate, but still I don't see it. I am confused, what do

I do now? (Fedora Core 4)




How do I install CMake - Complitric - 2005-08-30


I have got that working, now I am trying to use it to install:

 

[/url][url=http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD]http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD

 

Using these directions:

1. Change to the directory where the archive was extracted into. For example,

if you unpacked the toolkit in /opt/Pawn, go to that directory.

 

2. Launch "ccmake ." (the "." stands for the current directory).

 

3. Press the "c" key for "configure". After an initial configuration, you may

have items in the list that have a "*" in front of their value. These may

need adjustment, for instance the "EXECUTABLE_OUTPUT_PATH" item. After

adjustment, you type "c" once more.

 

4. Press the "g" button for "generate and quit". Then build the program by

typing "make".

 

First, I get an error no CMakeList.txt.. so I located that file in two place:

 

dir/sources/compiler

and

dir/sources/amx

 

I ran it in both of those (Ccmake):

Runs fine, but when I do the command "make" I get errors:

 

Building dependencies. cmake.depends...

Building executable /home/visualcode/pawn/source/compiler/pawncc...

/home/visualcode/pawn/source/compiler/libpawnc.so: undefined reference to `pthread_getspecific'

/home/visualcode/pawn/source/compiler/libpawnc.so: undefined reference to `pthread_key_delete'

/home/visualcode/pawn/source/compiler/libpawnc.so: undefined reference to `pthread_once'

/home/visualcode/pawn/source/compiler/libpawnc.so: undefined reference to `pthread_key_create'

/home/visualcode/pawn/source/compiler/libpawnc.so: undefined reference to `pthread_setspecific'

collect2: ld returned 1 exit status

make[1]: *** [/home/visualcode/pawn/source/compiler/pawncc] Error 1

make: *** [default_target] Error 2

 

What can I do?




How do I install CMake - znx - 2005-08-30


"pthreads" sounds like perl threads.. maybe check to see if your perl supports threads..

 

ive installed cmake.. will download pawncc and give it a go later..




How do I install CMake - znx - 2005-08-31


i was wrong with my guess pthread = posix threads...

 

 

do this:

 



Code:
ccmake .
t




 

Alter:



Code:
CMAKE_EXE_LINKER_FLAGS  -lrt




 

Then continue with:



Code:
c
g
make




 

Thats it...




How do I install CMake - Complitric - 2005-09-01

Perfect, thank you!