... I'm beginning to wonder why anyone wouldwant to run linux. It took me all day to GIVE UP on trying to getit 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 nowand if you accept it'll be installed instantly.

after installing smb, you have to configure the new sharego to "General Windows sharing settings" give a host description nameand 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\sharedyou 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 SP2WS Ubuntu510connected using ethernet with a hub

it worked very easy for me ...but if you know the network share UNC name like \\ubuntu510\sharedyou 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 XPsp2workgroup "MSHOME" but when I click on it, it asks me fora user name and password. I type that in and it just keepsrepeatedly asking over and over.

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

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

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

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

thankspecan

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'):

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.

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 ubuntuusers out there on Google trying to figure out these tricks.

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

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.

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)...

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.

# Get a unicode debug buildwx-config --unicode --debug --libs# Get an ANSI release buildwx-config --unicode=no --libs# I haven't used version before, but this should do it# Get wx 2.5 in ANSI debug formwx-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.

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.

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)

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 pluginsthey'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 keybindercontrib

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.

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

thankspecan

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

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.

Logged

Life would be so much easier if we could just look at the source code.