User forums > Help

installing from SVN on RHEL3

<< < (2/2)

afb:
I've reported a number of issues that affected RPM building on CentOS 3 / 4,
"make dist" failed and missed files, compiler was older and bootstrap issues...

However, all of these have been fixed now and with the proper patches/specs
Code::Blocks builds and installs OK on the Enterprise Linux OS (CentOS/RHEL).

Will post final instructions and RPMS, once Mac OS X packages are completed.

thomas:
I was going to say: "hey, make your life a happier one and don't do all this compilation terror, Subversion and recent wxGTK have been part of the standard distro forever and a day", but then I looked at the package list, and they really were added only in RH Enterprise 4  :(

Isn't there a way to trick rpm/yum/whatever-you-use to download and install from a RH 4 or FC 4 (or newer) repository? That will probably bear a ton of missing dependencies, but RPM should make sure it installs those too, shouldn't it?

Without Subversion and wxGTK 2.6, I am afraid to say you will not be able to build Code::Blocks.

Well... you *can* do without Subversion, if you download the sources on another machine (which has svn) and copy a tarball to your target machine, but you'll have to edit the build script to omit autorevision, and you will have to create the file sdk/autorevision.h by hand, it should look something like this:

--- Code: ---/*3151*/
#ifndef AUTOREVISION_H
#define AUTOREVISION_H
#include <wx/string.h>
#define SVN_REVISION "3151"
#define SVN_DATE     "2006-10-28 00:02:25"

namespace autorevision
{
const unsigned int svn_revision = 3151;
const wxString svnRevision(_T("3151"));
}
#endif
--- End code ---
[/size]

afb:

--- Quote from: thomas on October 29, 2006, 01:41:50 pm ---Without Subversion and wxGTK 2.6, I am afraid to say you will not be able to build Code::Blocks.

--- End quote ---

The wiki instructions involves compiling RPM packages for wxGTK 2.6.3pl2 and Subversion 1.4.0.

So CentOS 3 works fine. Red Hat Linux or CentOS 2.1 however, that might be a bit too archaic :-)

afb:

--- Quote from: thomas on October 29, 2006, 01:41:50 pm ---Isn't there a way to trick rpm/yum/whatever-you-use to download and install from a RH 4 or FC 4 (or newer) repository? That will probably bear a ton of missing dependencies, but RPM should make sure it installs those too, shouldn't it?
--- End quote ---

To minimize dependencies from another distribution, it is easier to build wxWidgets and Subversion with the "vendor" minimal specfiles that build packages with (mostly) implicit dependencies.

But I think we should still prefer using RPM packages, rather than compiling from source ? i.e. either compile everything from source code directly, or we build binary packages from source packages.

I do the same approach on Mac OS X, either I compile everything from source code *or* I use the DarwinPorts/MacPorts packages. I prefer to not mix the two approaches (and I am not using Fink)

Navigation

[0] Message Index

[*] Previous page

Go to full version