[CMake] newbee on cmake/installing problem

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Dec 10 10:29:02 EST 2009


On 2009-12-10 11:20-0000 ZOE KAPETAKI wrote:

> Hi,
> 
> I am trying to build Sundials (the version is 2.4) so I have to install
> CMake first. I am trying to install it on unix and I have downloaded and
> untared CMake-2.8.0.tar and CMake-2.8.0.tar.gz. I am using this page for
> instructions:
> http://www.cmake.org/cmake/help/install.html but when I type ./bootstrap I
> get the message ./bootstrap: bad interpreter : Permission denied. What do
> you think I am doing wrong? (I tried the FAQs as well but unfortunately,
> they are too advanced for me :( )

I believe you have a permissions problem that doesn't have much to do with
CMake.  For example, there are a fair number of non-CMake hits if you google
for the exact phrase "bad interpreter : Permission denied".  The most
helpful of those that I found was
http://ubuntuforums.org/showthread.php?t=27138.

If that discussion doesn't help, then here are some further questions.

What Unix are you using?

What are the results of each of the following commands?

ls -l bootstrap
ls -l /bin/sh
df -h bootstrap
mount

The first one tells you about the permissions on the bootstrap script. The
second helps to identify your shell. The third is a quick way to identify
the partition where the bootstrap script resides.  That last should be just
as written with no options which simply outputs information about how each
of your partitions is mounted. If the partition where bootstrap is located
is mounted "noexec" you have found your answer.

Hope this helps.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list