LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-03-2003, 04:07 PM   #1
LukasM
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 11-03-2003, 04:42 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 11-09-2003, 08:09 AM   #3
LukasM
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 11-09-2003, 09:16 AM   #4
Vlad_M
Member
 
Registered: Aug 2002
Location: Cape Town, South Africa
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
Posts: 388

Rep: Reputation: 30
gcc should be on cd1, ij the /RedHat/RPMS/ directory. Mount the cd, go over to the directory and type rpm -ivh gcc*
 
Old 11-09-2003, 11:43 AM   #5
wkm001
LQ Newbie
 
Registered: Jul 2003
Location: Virginia
Distribution: Red Hat 7.3, 8, 9
Posts: 23

Rep: Reputation: 15
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.
 
Old 11-16-2003, 05:08 AM   #6
LukasM
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up 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
 
Old 11-16-2003, 06:10 AM   #7
Vlad_M
Member
 
Registered: Aug 2002
Location: Cape Town, South Africa
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
Posts: 388

Rep: Reputation: 30
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.
 
Old 03-30-2004, 11:45 AM   #8
gjgm
LQ Newbie
 
Registered: Mar 2004
Location: VE
Posts: 1

Rep: Reputation: 0
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
 
Old 04-24-2004, 01:28 PM   #9
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
Edit error.h

remove the line extern int errno;

replace it with

#include <errno.h>

that should fix it.
 
Old 05-05-2004, 02:03 PM   #10
nexsin
LQ Newbie
 
Registered: May 2004
Location: Chicago
Distribution: All and any
Posts: 1

Rep: Reputation: 0
#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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat 8 installation error netguy2000 Red Hat 4 08-24-2004 10:56 PM
RedHat 9.0 Installation Error Terrorix Linux - Newbie 21 02-02-2004 02:09 PM
Error during Installation of Redhat Xetox Linux - Newbie 2 08-06-2003 02:33 PM
Redhat 9.0 installation error :( arkanix Linux - Newbie 2 07-22-2003 02:02 PM
Redhat installation error disc 2 johnny_0 Linux - Distributions 8 07-02-2002 08:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration