LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2010, 05:16 AM   #16
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33

I restarted the computer since then so I think I lost this information.
How can I start it from the command line ?
 
Old 03-25-2010, 05:24 AM   #17
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
You have to know where you installed it to. Look in the log files that were created in the directory where you made it. For example: you could look in config.log and look for the value of PREFIX or perhaps BIN_DIR or similar.

Evo2.
 
Old 03-25-2010, 05:39 AM   #18
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I didn't find anything useful in config.log.
I searched 'codeblocks' in my computer and found a match in /usr/local/bin/codeblocks
if i type /usr/local/bin/codeblocks, it says :
symbol lookup error : undefined symbol : _ZTI17wxScrollingDialog

What should I do now ?
 
Old 03-25-2010, 06:08 AM   #19
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Is that the only output?

Evo2.
 
Old 03-25-2010, 06:18 AM   #20
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Yes
 
Old 03-25-2010, 06:20 AM   #21
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I found out I can also directly use the command 'codeblocks' or 'codeblocks %F'.
the result is the same :
codeblocks: symbol lookup error : codeblocks: undefined symbol : _ZTI17wxScrollingDialog
 
Old 03-25-2010, 06:22 AM   #22
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
It seems to be linking at run time against a different lib than at compile time. Please post the config.log (for this build) and the output of:
Code:
ldd /usr/local/bin/codeblocks
Evo2.
 
Old 03-25-2010, 06:27 AM   #23
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
/usr/local/bin/codeblocks

Last edited by elishac; 04-13-2010 at 05:35 PM.
 
Old 03-25-2010, 06:58 AM   #24
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
It looks ok to me. Configure seems to indicate that the compile should have linked against the same libs as what are shown in the ldd output.

I wonder if you installed a different wx library in /usr/local or perhaps /opt in your earlier steps? To check could you please do:
Code:
find /usr/local -name 'libwx*'
And post the output if any.

Even better would be to post a log of the compilation if you made one (always a good idea).

Evo2.
 
Old 03-25-2010, 07:00 AM   #25
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Hello,
No output. I didn't do anything specific as far as the compilation is concerned, so if it is not set by default then no I don't have one.
Should I have typed make > tmp.txt instead of just make ?
Maybe I can remake everything, what's the command for that ?
(is it make mrproper && make ?)

Last edited by elishac; 03-25-2010 at 07:03 AM.
 
Old 03-25-2010, 07:16 AM   #26
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by elishac View Post
No output. I didn't do anything specific as far as the compilation is concerned, so if it is not set by default then no I don't have one.
Ok. I don't really know why this is happening. It may be worth have in a google for the exact error message that codeblocks spits out when you run it.

Quote:
Should I have typed make > tmp.txt instead of just make ?
Maybe I can remake everything, what's the command for that ?
(is it make mrproper && make ?)
I'd probably start from scratch. Something like:
Code:
make uninstall
cd ../
mv codeblocks.x.y.z codeblocks.x.y.z.back
tar xzf codeblocks.x.y.z.tar.gz
cd codeblocks.x.y.z
(./configure && make && make install) >& build.log
Please note that I'm just guessing at the name of the directory and tar file. The last command will log everything.

Evo2.
 
Old 03-25-2010, 07:46 AM   #27
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
so I typed make uninstall then I removed the dir 'trunk' and then i typed :
svn checkout svn://svn.berlios.de/codeblocks/trunk

cd trunk/
./bootstrap
(sudo ./configure && sudo make && sudo make install) >& build.log

by the way what does the & mean in >& ?

Last edited by elishac; 03-25-2010 at 08:19 AM.
 
Old 03-25-2010, 08:20 AM   #28
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
ok thanks.

Last edited by elishac; 04-13-2010 at 05:36 PM.
 
Old 03-25-2010, 01:06 PM   #29
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
So any idea what I get this error : undefined symbol : _ZTI17wxScrollingDialog
 
Old 03-25-2010, 02:43 PM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 27.
Quote:
sudo ./configure && sudo make
Looking for trouble ? ?
'sudo ./configure' : is wrong. 'sudo make' is wrong.
'sudo' is for administrative tasks only.
The only command requiring sudo is 'make install'.
.....
May be read post # 2 again :
"" cd trunk/ && ./bootstrap && ./configure && make""
.....

I get no errors running the executable 'codeblocks' on Ubuntu 9.10.
But you must be sure, only to have the wxgtk provided with
sudo apt-get install libwxgtk2.8-dev wx2.8-headers .

If you created some wx manually, please delete it.
The codeblocks install guide referred to in post # 4 about
' wxWidgets build ' is wrong, AFAIK.
.....

Are you using Ubuntu 9.10 ? Or ? ?
.....

Last edited by knudfl; 03-25-2010 at 05:15 PM.
 
  


Reply



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
[SOLVED] Problem installing Codeblocks konzo Linux - Software 12 02-02-2010 04:12 AM
codeblocks cannot start up in redhat9 boboboy Linux - Newbie 3 05-18-2009 02:26 AM
codeblocks build errors g++: command not found yukapuka Linux - Software 3 02-17-2009 03:09 PM
Setting up CodeBlocks on Ubuntu tm2383 Programming 4 12-12-2008 03:53 PM
Nightly Build ISO MikeeX Slackware 2 07-14-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

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
Open Source Consulting | Domain Registration