Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I install CMake
#1

[/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)

Reply
#2

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?

Reply
#3

"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..

Reply
#4

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...

Reply
#5
Perfect, thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)