SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am now installing and testing Postfix with many features like with MySQL,SASL,TLS & Cyrus IMAPD. However, I encountered error when I installed Postfix with Cyrus IMAPD.I need to install the original Berkeley DB from Slackware CD.How can I do it?Do you guys have any hints?Please don't hesitate and feel free to drop me a line if you have any suggestions.
Sorry,I'm a on Slackware.I used RedHat with RPM before.
P.S. It's such a pain to install from source because the successful installation chance is 40%.Maybe I don't know the tricks.
Depends on which one you need. Use "installpkg" to install it/them.
PACKAGE NAME: db3-3.3.11-i486-4.tgz
PACKAGE LOCATION: ./slackware/l
PACKAGE SIZE (compressed): 631 K
PACKAGE SIZE (uncompressed): 1660 K
db3: db3 (Berkeley database library version 3)
db3: The Berkeley Database (Berkeley DB) library provides embedded database
db3: support for both traditional and client/server applications.
db3: This package should be installed if compatibility is needed with
db3: databases created with the Berkeley DB version 3.
PACKAGE NAME: db31-3.1.17-i486-1.tgz
PACKAGE LOCATION: ./slackware/l
PACKAGE SIZE (compressed): 495 K
PACKAGE SIZE (uncompressed): 1290 K
db31: db31 (Berkeley database library version 3.1)
db31: The Berkeley Database (Berkeley DB) library provides embedded database
db31: support for both traditional and client/server applications.
db31: This package should be installed if compatibility is needed with
db31: databases created with the Berkeley DB version 3.1.x.
PACKAGE NAME: db4-4.2.52-i486-2.tgz
PACKAGE LOCATION: ./slackware/l
PACKAGE SIZE (compressed): 881 K
PACKAGE SIZE (uncompressed): 2290 K
db4: db4 (Berkeley database library version 4)
db4: The Berkeley Database (Berkeley DB) library provides embedded database
db4: support for both traditional and client/server applications.
db4: This package should be installed if compatibility is needed with
db4: databases created with the Berkeley DB version 4.
There are 3 different versions above, I suspect because there are different programs that need different versions of the libraries. I'd think that any conflicts would have been worked out in the packages already since Slackware offers them all, but I'm not certain.
You can unpack the package to find out what all it contains and where it puts it. Just make a directory, put the package in it, and untar it. Or use explodepkg.
Thanks all the reply from you guys.This time I have another question regarding Berkeley DB with Postfix.
My question is that when I compiled Postfix with Cyrus-IMAPD and Berkeley DB,the compilation cannot be completed because the error message said No db.h found.However,the db.h sits in the berkeley db's include folder (usr/local/bdb/include).I have done a lot of research on this one but with no luck.
Do you guys have any suggestions??Answer seems hard to find.
CFLAGS is what you pass to the compiler as options more or less. so lets say you want to include a directory of includes do like above. or if you want to optimize a build you could:
export CFLAGS=" -O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe" and so on
for libraries you *could* use LDFLAGS (i say could because it is better to use /etc/ld.so.conf and ldconfig
but sometimes if you want to build things non-standard you have to work around some things):
export LDFLAGS="-L/home/joe/lib" would cause the linker to search /home/joe/lib
keep in mind if you export the variables like above, they only last for the session you are in (until you logout or close the xterm/console).
Also keep in mind if you use LDFLAGS to force the linker to find libraries in a non-standard location but they are not in you libpath (as defined in /etc/ld.so.conf) the program will link find but will be unable to find the libraries at run time. To get around this:
sets /home/joe/lib as the last directory searched.
p.s. - I should probably add one more thing:
I you do set CFLAGS for optimization like above, don't get too carried away and add everything under the sun. You might get less than stellar results (abnormal program behavior, crashes, etc...).
I can makefiles.However,when I issued make command,the following error occured...
dict_db.c:449: error: `db' undeclared (first use in this function)
dict_db.c:569: error: parse error before ')' token
dict_db.c: In function `dict_hash_open':
dict_db.c:606: error: `HASHINFO' undeclared (first use in this function)
dict_db.c:606: error: parse error before "tweak"
dict_db.c:608: error: `tweak' undeclared (first use in this function)
dict_db.c:624: error: `DB_HASH' undeclared (first use in this function)
dict_db.c: In function `dict_btree_open':
dict_db.c:633: error: `BTREEINFO' undeclared (first use in this function)
dict_db.c:633: error: parse error before "tweak"
dict_db.c:635: error: `tweak' undeclared (first use in this function)
dict_db.c:650: error: `DB_BTREE' undeclared (first use in this function)
make: *** [dict_db.o] Error 1
make: *** [update] Error 1
It's just a portion of error message.Sorry for my stupid question because I don't have much experience on compiling.