User forums > Using Code::Blocks

How to install nightly builds on Linux Mandriva 2007

<< < (3/3)

TheTuxKeeper:

--- Quote from: afb on March 26, 2007, 11:48:05 am ---
--- Quote from: daniel2000 on March 26, 2007, 11:40:38 am ---You're right, they renamed it to wx-config-ansi and wx-config-unicode, what a crap. don't they now that the wx-config script can handle more than one wxwidgets version !?  :shock:
--- End quote ---

FreeBSD (and other systems) also do this, I think they call theirs wxgtk2u-2.6-config (for instance)

The problem otherwise is that the wx-config symlinks will conflict if you try to install more than one package. But they do set up (in the Ports makefiles) the $WX_CONFIG environment variable to point the one to be used.

--- End quote ---

Perhaps it was too hard to say "Don't they know". There are perhaps reason, they won't do it just for fun. But it isn't userfriendly.

Doesn't wx-config --version=2.6 work if you have more than one wxgtk version ?

@pivit80: seems be a "fault" in codeblocks. Wait a bit and you will see it fixed ;) Perhaps checkout revision 3758 (worked for me on suse 10.2). Just add -r 3758 to the svn checkout

pivit80:
oops... :oops:
very stupid mistake;
I haven't moved to trunk directory in my downloaded svn version.
Now all seems to works;
It is installing...

Thank you again and excuse me.
pv

afb:

--- Quote from: daniel2000 on March 26, 2007, 12:03:32 pm ---
Perhaps it was too hard to say "Don't they know". There are perhaps reason, they won't do it just for fun. But it isn't userfriendly.

--- End quote ---

"Unix is user friendly - it's just picky about it's friends" :-)

But we should probably fix our configure so that it picks up on any $WX_CONFIG,
instead of requiring "wx-config" overrides to use the --with-wx-config parameter ?


--- Quote ---Doesn't wx-config --version=2.6 work if you have more than one wxgtk version ?

--- End quote ---

It works fine, what I meant was that the actual *file* - be it /usr/bin/wx-config or
/usr/local/bin/wx-config will conflict between different packages upon installation.
Some package systems choose to delete the wx-config symlink from the package,
and then create a temporary symlink when you install -devel package instead.

But then you get a "dangling" wx-config program (that doesn't belong to a port/package),
so FreeBSD chose to rename the config program instead. (so they use --with-wx-config)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-wx.html
Which reminds me that we also need to fix it to look for 2.6 and reject any 2.8 install...

pivit80:
For Commodore64,

It is many years I use linux;
I've understood when a problem occurs it is almost always due to a "lack of knoledge", and rarely is due to particular linux distro;
otherwise you have found a bug in the distribution.

Besides, I've tried many distro, and can say, mandriva2007 is a powerful distro and above all a simple distro;
more visual, more connective, etc..

It may be you don't like mandriva2007, because you have had problems you doesn't manage in solve.
But, if you doesn't manage in solve a problem on Ubuntu, you change also this distribution?

The solution isn't to change distribution;
It is to understand the problem, that rarely is due to distro;
but, often is due to particular program you are compiling, lack of librarires etc..

This IMHO.
pv

TheTuxKeeper:

--- Quote from: pivit80 on March 26, 2007, 12:06:35 pm ---oops... :oops:
very stupid mistake;
I haven't moved to trunk directory in my downloaded svn version.
Now all seems to works;
It is installing...

Thank you again and excuse me.
pv

--- End quote ---
Nice to hear that it works :D

--- Quote from: afb on March 26, 2007, 12:34:17 pm ---"Unix is user friendly - it's just picky about it's friends" :-)

But we should probably fix our configure so that it picks up on any $WX_CONFIG,
instead of requiring "wx-config" overrides to use the --with-wx-config parameter ?

--- End quote ---
Don't know whether it's so easy. I'll look how other projects handle this.


--- Quote from: afb on March 26, 2007, 12:34:17 pm ---
--- Quote ---Doesn't wx-config --version=2.6 work if you have more than one wxgtk version ?

--- End quote ---

It works fine, what I meant was that the actual *file* - be it /usr/bin/wx-config or
/usr/local/bin/wx-config will conflict between different packages upon installation.
Some package systems choose to delete the wx-config symlink from the package,
and then create a temporary symlink when you install -devel package instead.

But then you get a "dangling" wx-config program (that doesn't belong to a port/package),
so FreeBSD chose to rename the config program instead. (so they use --with-wx-config)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-wx.html
--- End quote ---
Thanks for clearing my mind  :D
You're right this works till you have independent wx packages with it's own or no wx-config. Either you have no wx-config or you have one which belongs to multiple packages, which causes problems when you uninstall one (if it was possible to install both :roll:)  :lol:
But you can handle this with an extra wx-config package. No devel package installs a wx-config, but all require the wx-config package. The problem here, what happens if someone installs the wx-config without a devel package  :lol: Seems to be a difficult thing, so I won't criticise any solution anymore ;)

--- Quote from: afb on March 26, 2007, 12:34:17 pm ---Which reminds me that we also need to fix it to look for 2.6 and reject any 2.8 install...

--- End quote ---
Yeah, you're right here too :D

Navigation

[0] Message Index

[*] Previous page

Go to full version