Author Topic: Won't read plugins after svn compile - Ubuntu 10.04  (Read 3180 times)

Offline Xorlium

  • Multiple posting newcomer
  • *
  • Posts: 21
    • http://
Won't read plugins after svn compile - Ubuntu 10.04
« on: August 15, 2010, 08:15:17 pm »
Hello,

I'm trying to install from compile, using Ubuntu 10.04 64-bit. This is what I did:

1- I added the apt.wxwidgets.org repo and installed all wx dev files.
2- I downloaded the codeblocks svn using svn checkout ... (rev 6476)
3- ./configure --with-contrib-plugins=all --prefix=/usr/lib/
4- make
5- sudo make install

After this last command, it gave some errors that it didn't find wxchart and wxfindnotebook or something like that. I just copied the compiled libraries (.so, .so.0.1 and so on) from the directories (~/src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/.libs/libwxchartctrl.so and so on) into /usr/lib/

Then sudo make install again. This time it didn't complain.

But when I run codeblocks, it runs fine, but no plugins are loaded (even non-contrib, like compiler). Can anyone help? Thanks!

Xorlium
« Last Edit: August 15, 2010, 08:23:58 pm by Xorlium »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Won't read plugins after svn compile - Ubuntu 10.04
« Reply #1 on: August 15, 2010, 09:20:20 pm »
Use /usr as prefix, if you want to install in systems standard path.

Installing everything below /usr/lib is not a good idea.

Did you read this: http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Resolving_issues ?

You might have to replace /usr/local/lib with <prefix>/lib, where prefix is the prefix you have chosen when running ./configure.
If prefix is /usr, you should not need to run ldconfig at all.

If make install can not find the codeblocks libs, something went totally wrong.

By the way:
on Ubuntu > 9.04 you can use ubuntu's wxWidgets packages and do not need the packages provided by wxWidgets.

Offline Xorlium

  • Multiple posting newcomer
  • *
  • Posts: 21
    • http://
Re: Won't read plugins after svn compile - Ubuntu 10.04
« Reply #2 on: August 15, 2010, 09:49:56 pm »
Oh, what an idiot. Yeah, I don't know why I chose the prefix /usr/lib. Stupid me.

Thanks! It works now.