Jump to content

How do I install CMake


Recommended Posts

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)

Link to post
Share on other sites

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

 

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?

Link to post
Share on other sites

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

Link to post
Share on other sites

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

 

 

do this:

 

ccmake .
t

 

Alter:

CMAKE_EXE_LINKER_FLAGS  -lrt

 

Then continue with:

c
g
make

 

Thats it...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...