Author Topic: Trying to follow CB Linux Wiki  (Read 27060 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Trying to follow CB Linux Wiki
« on: January 14, 2006, 06:26:18 am »
I'm trying to follow the instructions in the CB Wiki for installing
on Linux. (ubuntu 510)

I'm getting the following err:
Code
pecan@herman:~$ cd devel
pecan@herman:~/devel$ dir
wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ tar zxf wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ dir
wxGTK-2.6.2  wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ tar zxf wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ dir
wxGTK-2.6.2  wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ mkdir build_gtk2_shared_monolithic_unicode
pecan@herman:~/devel$ cd build_gtk2_shared_monolithic_unicode
pecan@herman:~/devel/build_gtk2_shared_monolithic_unicode$ ../configure --prefix=/opt/wx/2.6 \
>        --enable-xrc \
>        --enable-monolithic \
>        --enable-unicode
bash: ../configure: No such file or directory
pecan@herman:~/devel/build_gtk2_shared_monolithic_unicode$

what happened ?

Does it mean no such file as "configure" or no such file as what??
thanks
pecan
« Last Edit: January 14, 2006, 06:28:29 am by Pecan »

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
Re: Trying to follow CB Linux Wiki
« Reply #1 on: January 14, 2006, 06:41:22 am »
I forget where is the "configure" script under wxGTK and I am now in Windows.

Check whether there is a file named "configure" under the folder ~/devel/ .., if not , use the following command to find the "configure" script location

Code
find ~/devel -name configure

after getting the location , change folder to that location and key in the below command

Code
./configure --prefix=/opt/wx/2.6   --enable-xrc  --enable-monolithic  --enable-unicode

(take note only 1 dot in front)

hope it helps.




Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #2 on: January 14, 2006, 07:32:29 am »
Ok  thanks, it got a little further I think, maybe
Does the following mean I dont have a compiler on ubuntu?
Or does it mean the path is wrong??

Code
pecan@herman:~$ find ~/devel -name configure
/home/pecan/devel/wxGTK-2.6.2/configure
/home/pecan/devel/wxGTK-2.6.2/src/expat/configure
pecan@herman:~$ cd /home/pecan/devel/wxGTK-2.6.2/src/expat/configure
bash: cd: /home/pecan/devel/wxGTK-2.6.2/src/expat/configure: Not a directory
pecan@herman:~$ cd /home/pecan/devel/wxGTK-2.6.2/src/expat/
pecan@herman:~/devel/wxGTK-2.6.2/src/expat$ ./configure --prefix=/opt/wx/2.6     --enable-xrc        --enable-monolithic        --enable-unicode
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
pecan@herman:~/devel/wxGTK-2.6.2/src/expat$

thanks
pecan

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #3 on: January 14, 2006, 07:59:56 am »
Ok got pass that. It seems ubuntu users must do

 sudo apt-get install build-essential

in order to get the c++ compiler

ok, off to the races.

thanks
pecan

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Trying to follow CB Linux Wiki
« Reply #4 on: January 14, 2006, 08:13:37 am »
Be sure to get latest autoconf, automake, libtool, be sure aclocal points to the most recent one (I had problems because of this, the solution is in the forums).

Also get wx-common and libwxgtk2.6 (you must check the right name of this one).

To search for packages, try: apt-cache search what

Example: apt-cache search libwxgtk 2.6

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #5 on: January 14, 2006, 08:38:01 am »
In the wiki, there is the following statement refering to
/etc/ld.so.conf

Quote
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf) then run:

ubuntu evidently doesnt have such a beast. At least not on
this ubuntu. I have a /et/ld.so.cache. Do I modify that??

thanks
pecan

Thanks ceniza, I'm beginning to wonder why anyone would
want to run linux. It took me all day to GIVE UP on trying to get
it to communicate with windows.

And now, all this, jeezzh

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Trying to follow CB Linux Wiki
« Reply #6 on: January 14, 2006, 08:49:26 am »
You don't need to modify that file if you'ren't going to compile wxWidgets by yourself.

"Communicate with Windows". What you mean, samba shares? The easiest way is thru KDE, but Ubuntu comes with Gnome :P

Another way is to mount those shares, but I'mn't sure which package enables smbfs... maybe samba itself?

Anyway, the force be with you, the bed with me.

Good luck, and use the forums, many answers to those Linux questions have been given there.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Trying to follow CB Linux Wiki
« Reply #7 on: January 14, 2006, 10:15:25 am »
Quote from: Pecan
... I'm beginning to wonder why anyone would
want to run linux. It took me all day to GIVE UP on trying to get
it to communicate with windows...

it worked very easy for me ...
start "File Browser" or run the command nautilus from terminal,
then navigate to or create a folder, which one you want to share with windows.

right click on it and select: "Share folder"
then choose "SMB" option .
if you don't have SMB installed at that time, you'll get asked if you want to install smb package now
and if you accept it'll be installed instantly.

after installing smb, you have to configure the new share
go to "General Windows sharing settings" give a host description name
and for windows it is the best, to use the same Workgroup name as you use on your Windows which you want to communicate with.
i have WINS disabled.

that's it, it may take a few minutes until windows recognices the new server in the workgroup,
but if you know the network share UNC name  like \\ubuntu510\shared
you can access it instantly.

dont forget to check your firewall settings, in order not to block communication... ;-)

this works for me without troubles:
WS WinXP SP2
WS Ubuntu510
connected using ethernet with a hub

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #8 on: January 14, 2006, 03:18:13 pm »
Firstly, thanks EVERYONE for your patients.! :D

[
Quote
In the wiki, there is the following statement refering to
/etc/ld.so.conf

Quote
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf) then run:

ubuntu evidently doesnt have such a beast. At least not on
this ubuntu. I have a /et/ld.so.cache. Do I modify that??
You don't need to modify that file if you'ren't going to compile wxWidgets by yourself.

Well, yes, I intent to do everyting on Linux that I do on Windows
in order to support and test the code I write/modify.

RE: seach of the forum for answers. I do. Then I go to google. But dumb me often does not know what to search for.

If you'll  tell me that "you should have searched for 'x' " etc, I'll learn
the keys of the linux kingdom. But.. seaching this forum for
/etc/ld.so.conf, I get no hits.

Sorry for the negativity last night/this morning. I had been working with
ubuntu/wx for 20 hrs straight. Should have stopped hours before.

EDIT: if we dont need to modify this file, why is it
int the wiki instructions?

thanks
pecan
« Last Edit: January 14, 2006, 03:31:34 pm by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #9 on: January 14, 2006, 04:17:30 pm »
Quote from: Pecan
took me all day to GIVE UP on trying to get
it to communicate with windows...
[/quote]
it worked very easy for me ...
but if you know the network share UNC name  like \\ubuntu510\shared
you can access it instantly.

dont forget to check your firewall settings, in order not to block communication... ;-)

thanks tiwag

I turned off the XP firewall. I dont know what to set in there.

I installed smb and smbfs and created the share "pecan" and "usr"
on "Herman"the ubuntu 510 system. Herman shows up in my XPsp2
workgroup "MSHOME" but when I click on it, it asks me for
a user name and password. I type that in and it just keeps
repeatedly asking over and over.

I create and new user "guest" with pswd on ubuntu and tried
to log in with that from  XP. No go.

Any suggestions are welcome. It would be nice to be able to
workgroup these systems instead of CD-networking.

thanks
pecan

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Trying to follow CB Linux Wiki
« Reply #10 on: January 14, 2006, 04:32:30 pm »
I create and new user "guest" with pswd on ubuntu and tried
to log in with that from  XP. No go.

Any suggestions are welcome. It would be nice to be able to
workgroup these systems instead of CD-networking.

thanks
pecan

You have to add a new user for SMB. You could give it the same username and password as your existing ubuntu user.
To do this, open a console and type the following (assuming you want create a user named 'pecan'):

sudo smbpasswd -a pecan

It will ask you twice for the new password and you 're done.
Be patient!
This bug will be fixed soon...

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Trying to follow CB Linux Wiki
« Reply #11 on: January 14, 2006, 04:37:07 pm »
Why are you going through the pain of installing wxWidgets yourself?   I will update the wiki to be clear that you don't need to compile wxWidgets yourself if you are on Ubuntu 5.10, or any other distro that has a unicode build of wxGTK 2.6.X available.  The wxgtk2.6-dev package contains a perfectly fine version of wxWidgets I have compiled Code::Blocks against it many times.

You should also probably install your libraries to /usr/local/lib, that is the traditional place for them.  Almost all programs you build from source do this automatically so you don't need to tell them where to go with the --prefix command.  It is important to remember there is a windows way, and there is a linux way to do things.  Don't try the windows way on Linux.  You also don't need different subdirs for each wxWidgets version.  The libary names are unique so that you can have 2.6 unicode, 2.6 ansi, 2.6 unicode-debug, 2.6 ansi-debug, 2.5 unicode, 2.4 ansi, etc builds all in the same folder without any fear of over writing the libraries.
« Last Edit: January 14, 2006, 05:30:09 pm by Game_Ender »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #12 on: January 14, 2006, 05:12:36 pm »
You have to add a new user for SMB. You could give it the same username and password as your existing ubuntu user.
To do this, open a console and type the following (assuming you want create a user named 'pecan'):

sudo smbpasswd -a pecan

It will ask you twice for the new password and you 're done.


WOW!!!  That did the trick. Man, there are 1000s of ubuntu
users out there on Google trying to figure out these tricks.

I spent hours reading "workgrouping linux" messages
yesterday. And you had it in your head the whole time.

Amazing....

Thanks
pecan

EDIT:
keywords ubuntu breezy windows workgoup workgroups linux smb smbfs samba
« Last Edit: December 16, 2006, 11:42:52 pm by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #13 on: January 14, 2006, 05:18:55 pm »
Why are you going through the pain of installing wxWidgets yourself?   I will update the wiki to be clear...

Ok, guess I'll skip that instruction. That's what I needed to know.
I'll walk the rest of the wiki. So confusing..... what parts to use
and what parts not to.

Should I just plug along with the way thing are now or
start over again? Maybe I should copy GTK in both places
/opt... and /usr   will that work?



thanks
pecan



Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #14 on: January 14, 2006, 05:30:14 pm »
The wxgtk2.6-dev package contains a perfectly fine version of wxWidgets I have compiled Code::Blocks against it many times.

I searched google for "wxgtk2.6-dev" and got no hits.
Is this package different from the one mentioned in the wiki?
Could you include a url?

thanks
pecan

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Trying to follow CB Linux Wiki
« Reply #15 on: January 14, 2006, 05:39:31 pm »
Under System->Administrator there is a program called Synaptic.  Just give it your password when it asks and the program will start.  Run a search for wxGTK and you should the wxGTK 2.6 dev package.  Just click the little box to mark it for installation and let it install anything else that it says is needed.  Then you just click Apply.  After the install if finish all you have to do is close the application no restart is necessary.

This is the whole Linux and Windows way I was talking about.  In most linux distributions you have some kind of package management system with a repository that is full of almost all the software you will ever need and you can get in just a couple of clicks.  The system makes sure that if want a certain App X, that depends on Lib Y, all you have to do is say "I want you to install X" and it will also install Lib Y for you too.  This is much easier than hunting are the internet for dependencies.

Anything you install from synaptic will go into /usr and generally anything you install from source with "./configure, make, sudo make install" will go into /usr/local/.  If you are installing the package just completely delete the version you have compiled from /opt.  If all these directories seem a little odd to you, check out this article.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #16 on: January 14, 2006, 05:44:41 pm »
Be sure to get latest autoconf, automake, libtool, be sure aclocal points to the most recent one (I had problems because of this, the solution is in the forums).

Also get wx-common and libwxgtk2.6 (you must check the right name of this one).

To search for packages, try: apt-cache search what

Example: apt-cache search libwxgtk 2.6

Are some of the forum messages gone?

I searched for "autoconf","automake","libtool", and "aclocal" indiviually
but got no hits except this message. Am I searching incorrectly?

What solution is this message refering to?

Sorry for being so stupid about linux....

thanks
pecan
 
« Last Edit: January 14, 2006, 05:46:19 pm by Pecan »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Trying to follow CB Linux Wiki
« Reply #17 on: January 14, 2006, 06:03:04 pm »
Are some of the forum messages gone?

I searched for "autoconf","automake","libtool", and "aclocal" indiviually
but got no hits except this message. Am I searching incorrectly?
pecan

Using the terms autoconf, automake and libtool, I have found this post that could may be help.

What I have remarked when doing a search in the forum is that I have to be careful of the scope of the query. And also that an advanced search could be useful for complex queries :).

Michael

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #18 on: January 14, 2006, 06:16:09 pm »
Using the terms autoconf, automake and libtool, I have found this post that could may be help.

What I have remarked when doing a search in the forum is that I have to be careful of the scope of the query. And also that an advanced search could be useful for complex queries :).

Michael

Oh.. It never occured to me that the search button *only*
searched the current thread. I'll go back and do some of my
other failed searches...

thanks
pecan

grv575

  • Guest
Re: Trying to follow CB Linux Wiki
« Reply #19 on: January 15, 2006, 06:59:52 am »
Why are you going through the pain of installing wxWidgets yourself?

Because a custom compiled library for your target architecture runs faster.  How often do you exprect to compile wx anyway?  They only release new versions like 2-3 times a year... so the minimal compile time pays for itself many times over.  IMHO.

Quote
You should also probably install your libraries to /usr/local/lib, that is the traditional place for them.  Almost all programs you build from source do this automatically so you don't need to tell them where to go with the --prefix command.

Well that's not always the case.  It's package-specific whether they chose /usr/local as the default although most packages do.  If you try installing LFS, you'll see that some packages default to /usr so it's easier sometimes to just always specify --prefix so it goes where you expect it to.

Quote
It is important to remember there is a windows way, and there is a linux way to do things.  Don't try the windows way on Linux.  You also don't need different subdirs for each wxWidgets version.  The libary names are unique so that you can have 2.6 unicode, 2.6 ansi, 2.6 unicode-debug, 2.6 ansi-debug, 2.5 unicode, 2.4 ansi, etc builds all in the same folder without any fear of over writing the libraries.

OK, but do you mind telling how to choose which configuration you would like to use using wx-config?  I always just resymlink to a different wxdir (I use one for each version) since that's pretty easy to do (maybe not the proper way to use wx-config)...

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Trying to follow CB Linux Wiki
« Reply #20 on: January 15, 2006, 04:58:08 pm »
wx-config is a good tool.  The important thing is that you only have one wx-config utility in your path (which I usually do about by just deleting/renaming/moving the one from /usr/local/bin).  Now that that is done you have to move around the actual files that wx-config uses to supply the build options.  I believe they are usually of the form gtk2-<version>-<anis/unicode>-<debug/release>, but I could have the exact order messed up.  They are always installed to <install_dir>/lib/wx/config, so you just have to make sure that no matter where you install your mutiple versions of wx-widgets to all the config files are in the one location wx-config looks.  So if wx-config is in /usr/local/bin then put all your config files (regardless of where you actually installed the library) into /usr/local/lib/wx/conifg.  Now you specify the proper options to wx-config and it will give the right library.

For example:
Code
# Get a unicode debug build
wx-config --unicode --debug --libs
# Get an ANSI release build
wx-config --unicode=no --libs
# I haven't used version before, but this should do it
# Get wx 2.5 in ANSI debug form
wx-config --version=2.5 --unicode=no --debug --libs

I am not positive but i believe wx-config defaults to the highest version number you have, then the unicode build if you have one, then release if you have that.

« Last Edit: January 15, 2006, 07:52:34 pm by Game_Ender »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #21 on: January 15, 2006, 06:40:10 pm »
EDIT: Thats wierd, I just tried this the second time and it worked.
MAGIC!!


I'm trying to checkout onto ubuntu the HEAD svn just as I did on windows.
What am I doing wrong?

thanks
pecan

Code
pecan@herman:~/devel$ svn --username me --password mypassword checkout https://svn.berlios.de/svnroot/repos/codeblocks/trunk
Error validating server certificate for 'https://svn.berlios.de:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.berlios.de
 - Valid: from Sep 26 19:24:06 2005 GMT until Sep 26 19:24:06 2006 GMT
 - Issuer: BerliOS, FhG FOKUS, Berlin, Berlin, DE
 - Fingerprint: be:b3:9b:44:3c:c9:2e:ce:06:97:d0:35:36:e6:21:3a:1c:c1:55:ac
(R)eject, accept (t)emporarily or accept (p)ermanently? p
svn: PROPFIND request failed on '/svnroot/repos/codeblocks/trunk'
svn: PROPFIND of '/svnroot/repos/codeblocks/trunk': Server certificate verification failed: issuer is not trusted (https://svn.berlios.de)
pecan@herman:~/devel$
« Last Edit: January 15, 2006, 06:52:21 pm by Pecan »

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Trying to follow CB Linux Wiki
« Reply #22 on: January 15, 2006, 07:00:00 pm »
Just type:
Code
svn checkout svn://svn.berlios.de/codeblocks/trunk codeblocks-svn
"codeblocks-svn" is the directory where the repository will be saved to, without this parameter it will be saved to the current directory, I think (I've never tested it). In your case with "codeblocks-svn" it will be saved to "~/devel/codeblocks-svn".

The thing you do wrong is that you're logging in the svn server (with a username "me" that won't exist). You only need to log in when you're a developer.
Nightly builds for openSUSE

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Trying to follow CB Linux Wiki
« Reply #23 on: January 15, 2006, 07:03:04 pm »
The thing you do wrong is that you're logging in the svn server (with a username "me" that won't exist). You only need to log in when you're a developer.

I'm pretty sure he is a developer (of a contrib plugin, but still). I'm also pretty sure he changed the username and password in the command-line before he posted here ;).

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Trying to follow CB Linux Wiki
« Reply #24 on: January 15, 2006, 07:09:12 pm »
The thing you do wrong is that you're logging in the svn server (with a username "me" that won't exist). You only need to log in when you're a developer.

I'm pretty sure he is a developer (of a contrib plugin, but still). I'm also pretty sure he changed the username and password in the command-line before he posted here ;).
:oops: :oops: :oops: :oops: Oh, I'm very sorry. Sorry Pecan!  :oops: :oops: :oops: :oops:
Yes, there's no wrong username error  :lol: :oops:
OK, but do you mind telling how to choose which configuration you would like to use using wx-config?  I always just resymlink to a different wxdir (I use one for each version) since that's pretty easy to do (maybe not the proper way to use wx-config)...
You can do it like Game_Ender said or can specify the --wx-config parameter of ./configure with the right wx-config (on my suse: /usr/lib/wx/config/gtk2-ansi-release-2.6 or /usr/lib/wx/config/gtk2-unicode-release-2.6)
Nightly builds for openSUSE

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #25 on: January 15, 2006, 07:19:51 pm »
EDIT: Thats wierd, I just tried this the second time and it worked.
MAGIC!!

I'm trying to checkout onto ubuntu the HEAD svn just as I did on windows.
What am I doing wrong?

Thanks for the reply guys. True, I didn't post my
name and password, and I maintain keybinder.

For some unknown reason, I waited 15 minutes,
just hit the {up arrow},{enter} then 'p' again and the darn thing is working.

Yes, not specifying a destination directory is puting the stuff in
the current dir.

thanks
pecan

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #26 on: January 16, 2006, 12:40:19 am »
EDIT: Got my answer. Did a "sudo make install" and it worked.
I think we have to write a ubuntu only wiki page for all this.
// -------------End Edit -------------------------------------------


I'm getting the following errs trying to do a ubuntu 510 codeblocks
make install

Does this mean I should do a "sudo make install" instead?

Code
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  [i]this line deleted because it cause an apache post error[/i]
'console_runner' '/usr/local/bin/console_runner'
/usr/bin/install -c console_runner /usr/local/bin/console_runner
/usr/bin/install: cannot create regular file
`/usr/local/bin/console_runner': Permission denied
make[4]: *** [install-binPROGRAMS] Error 1
make[4]: Leaving directory
`/home/pecan/devel/trunk/src/tools/ConsoleRunner'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/pecan/devel/trunk/src/tools/ConsoleRunner'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/pecan/devel/trunk/src/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pecan/devel/trunk/src'
make: *** [install-recursive] Error 1
pecan@herman:~/devel/trunk$

thanks
pecan
« Last Edit: January 16, 2006, 01:47:57 am by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #27 on: January 16, 2006, 01:02:37 am »
EDIT:  after searching, i'm guessing that "./configure --enable-contrib"
might work. If so, where do/does all the "equivalents of the windows DLLs"
go?
Do you have to be a root user to develope code/plugins?
// ------------- End Edit --------------------------------------------------

How do I run the contib plugins on ubuntu. When I go to plugins->manage plugins
they're not even listed.

when I try to compile them, via the workspace, it says "nothing to be done"

How can i see/load the files of a contrib project into the editor. I've double clicked,
right clicked, stomped, cussed etc, and it shows no file names under keybinder
contrib

help is sorely appreciated

thanks
pecan
« Last Edit: January 16, 2006, 01:48:31 am by Pecan »

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
Re: Trying to follow CB Linux Wiki
« Reply #28 on: January 16, 2006, 03:32:45 am »

  • 1. ./bootstrap
  • 2. ./configure
  • 3. make
  • 4. sudo make install


To get all contrib plugin , at the stage 2 , use ./configure --enable-contrib

Now , I think you need to
Change directory to your CB project directory

1. sudo make clean  (optional but recommended)
2. ./configure --enable-contrib
3. make
4. sudo make install


p/s : you can download RapidSVN (using synaptic > search) to get a GUI interface of SVN (need to run from command prompt)




takeshimiya

  • Guest
Re: Trying to follow CB Linux Wiki
« Reply #29 on: January 16, 2006, 04:18:16 am »
p/s : you can download RapidSVN (using synaptic > search) to get a GUI interface of SVN (need to run from command prompt)
Quite off-topic: do you know how can I open with RapidSVN a repository I already checked out with svn command line?

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Trying to follow CB Linux Wiki
« Reply #30 on: January 16, 2006, 06:45:46 am »
By default I think Code::Blocks installs its pluggins to /usr/local/share/codeblocks/plugins.  I used the --prefix options to put codeblocks in /home/<user_name>/apps/codeblocks-svn, so then your pluggins would be in /codeblocks-svn/share/codeblocks/plugins.  This enables you to develop plugins as a non-root user, something that is very advised.

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
Re: Trying to follow CB Linux Wiki
« Reply #31 on: January 16, 2006, 06:10:00 pm »
Quite off-topic: do you know how can I open with RapidSVN a repository I already checked out with svn command line?
this is how I do , right click on "Bookmark " on Treectrl > add existing work copy

but , make a back up copy first before doing that to play safe.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Trying to follow CB Linux Wiki
« Reply #32 on: January 16, 2006, 10:37:13 pm »
By default I think Code::Blocks installs its pluggins to /usr/local/share/codeblocks/plugins.  I used the --prefix options to put codeblocks in /home/<user_name>/apps/codeblocks-svn, so then your pluggins would be in /codeblocks-svn/share/codeblocks/plugins.  This enables you to develop plugins as a non-root user, something that is very advised.

could you give an example line using this "--prefix" thingie

thanks
pecan

EDIT: This thread is going to make excellent documentation
for a ubuntu wiki page.

« Last Edit: January 16, 2006, 10:38:58 pm by Pecan »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Trying to follow CB Linux Wiki
« Reply #33 on: January 16, 2006, 10:42:31 pm »
When you run configure instead of just typing ./configure change it to (as an example)
./configure --prefix=/opt/codeblocks and after make then make install will install what you built to the specified (/opt/codeblocks in our case) path.
Life would be so much easier if we could just look at the source code.