LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2011, 02:17 PM   #1
shahinab
LQ Newbie
 
Registered: Jun 2011
Posts: 7

Rep: Reputation: Disabled
Question problems in running /configue


Hi,
I'm trying to install gridlab-d on my machine. After running the following command:
shahinab@ecel236-01:~/Program Files/GL/gridlab-d/trunk$ ./configure

I got the remaining part:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/home/shahinab/Program Files/GL/gridlab-d/trunk':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
rm: cannot remove `core': Is a directory

What do you think?
 
Old 06-27-2011, 02:37 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,793

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
checking whether the C++ compiler works... no
configure: error: in `/home/shahinab/Program Files/GL/gridlab-d/trunk':
configure: error: C++ compiler cannot create executables
Install a C++ compiler. Probably you didn't install enough of gcc. BTW, /home/shahinab/Program Files/GL/gridlab-d/trunk seems a fairly strange directory to be compiling in. did you make the Program Files/ directory or is it part of something else?
 
Old 06-27-2011, 02:52 PM   #3
shahinab
LQ Newbie
 
Registered: Jun 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
./configure

Yes, I made the Program Files/ directory .
 
Old 06-27-2011, 03:18 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Assuming you're using Ubuntu:

Code:
apt-get install build-essential
 
Old 06-27-2011, 04:31 PM   #5
shahinab
LQ Newbie
 
Registered: Jun 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy installing build-essential

This is the message I get while trying to install build-essential.

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
 
Old 06-27-2011, 05:04 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
The Ubuntu command is :


sudo apt-get install build-essential
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing and running Frostwire on Acer One running Linpus Linux ricky1981 Linux - Newbie 1 12-19-2008 09:24 AM
how to configue histoy command output? jimmyjiang Red Hat 3 04-27-2007 05:03 PM
Problems running X scottyp Linux - Newbie 6 07-07-2006 06:07 PM
problems running NA in dosemu redwing57 Linux - Software 0 09-29-2005 08:27 PM
how to configue X server soner Fedora 1 10-31-2004 02:18 PM


All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration