Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-03-2003, 04:07 PM
|
#1
|
LQ Newbie
Registered: Nov 2003
Posts: 3
Rep:
|
Daemontools-0.76 installation - Error on Redhat 9
Hello all.
I have a question regarding the installation of Daemontools 0.76 on Redhat 9 as a stage of the installation of DJBDNS.
How do I do it?
More specifically, I get this error...
[root@localhost daemontools-0.76]# package/install
Linking ./src/* into ./compile...
sh find-systype.sh > systype
rm -f compile
sh print-cc.sh > compile
chmod 555 compile
./compile byte_chr.c
./compile: line 3 exec: gcc: not found
make: *** [byte_chr.o] Error 127
Copying commands into ./command...
cp: cannot stat 'compile/svscan': No such file or directory
[root@localhost daemontools-0.76]#
I have not yet managed to find any explanation as to why this fails.
If someone could enlighten me (and others that I imagine are struggling), I would be very grateful.
Thanks in advance,
LukasM
|
|
|
11-03-2003, 04:42 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Quote:
./compile: line 3 exec: gcc: not found
|
Looks like you need to install gcc. This probably also means that you'll need to install the other development tools as well.
|
|
|
11-09-2003, 08:09 AM
|
#3
|
LQ Newbie
Registered: Nov 2003
Posts: 3
Original Poster
Rep:
|
mcleodnine> Thanks for your reply.
I see! I thought there was a problem with line 3 - it didn't occur to me that gcc wouldn't be installed!
I guess the minimal install for Redhat 9 really is minimal!
As a newbie to Linux, could you suggest how I can install just the gcc in redhat 9 from the commandline?
Thanks again,
LukasM
|
|
|
11-09-2003, 09:16 AM
|
#4
|
Member
Registered: Aug 2002
Location: Cape Town, South Africa
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
Posts: 388
Rep:
|
gcc should be on cd1, ij the /RedHat/RPMS/ directory. Mount the cd, go over to the directory and type rpm -ivh gcc*
|
|
|
11-09-2003, 11:43 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Location: Virginia
Distribution: Red Hat 7.3, 8, 9
Posts: 23
Rep:
|
GCC
Or if you activated your Red Hat entitlement you can just type
up2date gcc
This will solve all your dependencies and install everything you need. You will also need to patch daemontools so it will compile on Red Hat 9. There is a very good step by step install on www.qmailrocks.org. Just look through his install and you will find the daemontools stuff.
|
|
|
11-16-2003, 05:08 AM
|
#6
|
LQ Newbie
Registered: Nov 2003
Posts: 3
Original Poster
Rep:
|
My thanks
Thank you to both Vlad_M and wkm001 for you replies.
In the end I tried Vlad_M's approach - i'd prefer to have it configured before connection to the Internet.
I shall look into up2date - although it may take me a while to get that far!
My thanks once again,
LukasM
|
|
|
11-16-2003, 06:10 AM
|
#7
|
Member
Registered: Aug 2002
Location: Cape Town, South Africa
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
Posts: 388
Rep:
|
up2date is a nice tool, and its sort of like windowsupdate - very, very easy to use. So while I don't think it'll take you a while to get there, don't get to comfy with it, since I think that EOL of RH9 (i.e. the date when up2date will stop working) is April 2004 AFAIK.
But there are other tools, such as APT4RPM and yum, which use public repositories and are just as easy to use, so perhaps you should look into those too.
Anyway, glad we helped to sort out the gcc thingy.
|
|
|
03-30-2004, 11:45 AM
|
#8
|
LQ Newbie
Registered: Mar 2004
Location: VE
Posts: 1
Rep:
|
Error compiling daemontools-0.76 on Irix 6.5
Regards,
I´m a newbie user on Linux and I´m trying to installed dnscache on a O2 Server with Irix 6.5.
When I compile daemontools-0.76, I get the following error:
root@server:/package/admin/daemontools-0.76#
root@server:/package/admin/daemontools-0.76# package/install
Linking ./src/* into ./compile...
Compiling everything in ./compile...
sh find-systype.sh > systype
rm -f compile
sh print-cc.sh > compile
chmod 555 compile
./compile byte_chr.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_diff.c
./compile byte_rchr.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
rm -f makelib
sh print-ar.sh > makelib
chmod 555 makelib
./compile scan_ulong.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_start.c
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \
byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \
str_diff.o str_len.o str_start.o
rm -f choose
cat warn-auto.sh choose.sh \
| sed s}HOME}"`head -1 home`"}g \
> choose
chmod 555 choose
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
./compile envdir.c
rm -f load
sh print-ld.sh > load
chmod 555 load
./compile alloc.c
./compile alloc_re.c
./compile buffer.c
./compile buffer_0.c
./compile buffer_1.c
./compile buffer_2.c
./compile buffer_get.c
./compile buffer_put.c
./compile buffer_read.c
./compile buffer_write.c
./compile coe.c
./compile env.c
./compile error.c
./compile error_str.c
./compile fd_copy.c
./compile fd_move.c
./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h
./compile fifo.c
./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h
./compile lock_ex.c
lock_ex.c: In function `lock_ex':
lock_ex.c:12: warning: implicit declaration of function `lockf'
./compile lock_exnb.c
lock_exnb.c: In function `lock_exnb':
lock_exnb.c:12: warning: implicit declaration of function `lockf'
./compile ndelay_off.c
./compile ndelay_on.c
./compile open_append.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./compile openreadclose.c
./compile pathexec_env.c
pathexec_env.c: In function `pathexec':
pathexec_env.c:43: warning: cast increases required alignment of target type
./compile pathexec_run.c
pathexec_run.c: In function `pathexec_run':
pathexec_run.c:18: warning: implicit declaration of function `execve'
./compile chkshsgr.c
chkshsgr.c: In function `main':
chkshsgr.c:10: warning: passing arg 2 of `getgroups' from incompatible pointer type
chkshsgr.c:10: warning: passing arg 2 of `setgroups' from incompatible pointer type
./load chkshsgr
ld32: Segmentation fault. Removing output file...
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
root@server:/package/admin/daemontools-0.76#
root@server:/package/admin/daemontools-0.76#
Please, anybody can help me???.......thanks
GJGM
|
|
|
04-24-2004, 01:28 PM
|
#9
|
Member
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665
Rep:
|
Edit error.h
remove the line extern int errno;
replace it with
#include <errno.h>
that should fix it.
|
|
|
05-05-2004, 02:03 PM
|
#10
|
LQ Newbie
Registered: May 2004
Location: Chicago
Distribution: All and any
Posts: 1
Rep:
|
#include <errno.h>
This seems to fix alot of problems that I had setting up qmail ( http://toslug.org/qmail_guide , quide i chose). Its as if i was trying to view a website and some one said... "Did you clear your cache?"
Thanks to all the members of this fourm
|
|
|
All times are GMT -5. The time now is 06:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|