Re: Postfix-Cyrus-Web-cyradm- Postfix-Cyrus-Web-cyradm-HOWTO



On Sun, 13 May 2007 23:03:03 -0500, Sam wrote:

mervin@xxxxxxxxxxxx writes:

Hello;

I have Fedora Core 6.

Okeedokee.

The Berkeley DB version is db-4.3.29.tar.gz and is installed in /usr/
local/BerkeleyDB.4.3

Say what?

Fedore Core 6 comes with DB 4.3.29, but it is certainly NOT installed in
/usr/local.

--with-dbdir=/usr/local/BerkeleyDB.4.3 \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.3/lib \
--with-bdb-incdir=/usr/local/BerkeleyDB.4.3/include \

Oh, dear…

One thing about Fedora and all rpm-based system:

Do _NOT_, I repeat, do _NOT_ screw around with them by installing random
software in random locations. Always use the rpm tool to build and install
software packages. Fedora's core components rely extensively on rpm and its
dependency checking, for proper configuration. If you don't know how to use
rpm to build your own software packages, then buy a book and learn how to do
it. It's going to be time well spent. There are many very good reasons for
that.

Right about now, it's right about the time for one or two cowboys jumping
into this thread and bragging how they've been manually building and
installing software on Fedora, or Red Hat, for the last two hundred years,
and they never had a problem with that. Whatever. Fine, you can go and ask
_them_ to help you with this problem, then.

I have installed db4-devel-4.3.29-9.fc6.i386 with the Fedora package
manager.

No, you did not. You, for some reason, decided to manually compile and
build DB 4.3.29 into /usr/local, even though there's a perfectly working DB
rpm package that comes with Fedora Core. Can you satisfy my curiosity, and
explain the pressing reason that drove you to do that? I'm curious,
because I just don't understand this. There's a perfectly valid DB 4.3.29
package that's part of Fedora. Why are you doing this?

Then, after you've installed DB 4 yourself, somehow, for some reason you
decided to make another 180 degree turn, and install the db4-devel rpm,
expecting that it, somehow, is going to work together with your custom db4
build.

No, I'm afraid it doesn't work this way.

Have tried different db version, symlinking,

I'm sure you did. Unfortunately, creating random symlinks, on Fedora, will
never fix anything.

all I could
scour on the web for this error.

The real error here is that you've likely destabilized your system, by
manually installing software, and generally making a big mess. Files from
perfectly sound packages are very likely to have been overwritten by
manually-compiled stuff. It's unlikely that you'll get any valid advice
from anyone, for the simple reason is that nobody except you knows what's
now in your system, and where. Most people who run Fedora do not have some
DB4 mutation in /usr/local, they just use the stock DB 4 rpm package.

Together with Extras, there is _NEVER_ any reason for manually hacking your
own software libraries, on Fedora, and forging ahead and trying to shoehorn
them into the system. All popular software libraries are already packaged
either in Fedora Core, or Extras, are known to be working, and can be
installed with a single "yum install" command.

It sound to me like your system is simply not stable for any meaningful
software development. It's fairly likely that you have some core system
component libraries overwritten. DB is a core system component, and trying
to hack in a manually built version of it, has likely destabilized your
system.

You'll need to undo everything, and start again. Stabilize your core system
components first. Make sure that you have a valid, tested DB4 install. The
libraries should be in /usr/lib, the header files in /usr/include, in the
same place that hundreds of other software packages, that are part of
Fedora, consistently place their own headers and libraries. Once your
software librarie are stable, you can begin building more stuff, with no
more surprises.

Besides, both Postfix, and Cyrus, are already built for Fedora, and there
was really no reason for you to begin this adventure in the first place. You
should've just used yum to install them.

Sam;

Thanks a lot for the detailed reply. I was just follwing the how-to. I
have some experience with Linux, but as you can see, I have created
problems. So what you are saying is that I can get the postfix install
going with the web interface with all the Fedora packages that come with
the distro?

If I study out YUM config options, am I on the right course?

Thx again;

bobd
.



Relevant Pages

  • Re: Fedora 7: The Linux Knight in Shining Armor?
    ... Fedora 7 repo. ... And just because a package comes in a server ISO doesn't mean that it ... Other stuff -- if it's not there in the install ... of exotic packages formerly in extras, ...
    (Fedora)
  • Re: Still no joy with yum
    ... then ran sudo yum install mplayer and redirected to ... Setting up Install Process ... --> Populating transaction set with selected packages. ... what version of Fedora are you running? ...
    (Fedora)
  • Re: production server
    ... After a 2 hour install process it ... There are offspring sites that are providing packages ... being a server.. ... Then I came full circle back to Fedora, for all its faults it does ...
    (Fedora)
  • RE: OT: Whats the deal with Ubuntu?
    ... distribution of core apps for a given app/service would probably be useful. ... -project management server ... Fedora isnt Ubuntu or viceversa though these two ... farms where the drives are cloned, or at least it's a network install ...
    (Fedora)
  • Re: FC3 vs. Windows 2000
    ... > Dear Fedora Advocates, ... As for codecs to play most Windows-compatible multimedia files: Install ... keep your applications up to date, and use yum to find new packages. ...
    (Fedora)