LinuxQuestions.org
Review your favorite Linux distribution.
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 01-17-2005, 03:14 PM   #1
ServerStorm
Member
 
Registered: Oct 2004
Posts: 76

Rep: Reputation: 15
Angry Errors installing daemontools-0.76 on Suse 9.1


Hi Everyone,

I am attempting to install D. J. Bernstein's daemontools-0.76 and I am getting errors. I think the problem may be related to not having the proper deve libraries install however gcc and its' derivatives are all installed (I saw someone in a previous thread solved their installation issue by including gcc; however mine was already installed via Yast). I have tried to find a resolution to this on SuSE forums, Googling (including Translating German Text) and queried past threads in this forumn, but I have not yet been able to fix this errror.

I get the following error attempting to use the installation instructions on D. J. Bernstein's site; also, if I attempt to patch the file I get an error that is included below in the following output:

Code:
foozle:/package/admin/daemontools-0.76/src # cd /package
foozle:/package #  gunzip daemontools-0.76.tar
foozle:/package #      tar -xpf daemontools-0.76.tar
Here is the error if attempting to patch:
Code:
foozle:/package/admin/daemontools-0.76/src # patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
patching file error.h
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file error.h.rej
foozle:/package # rm daemontools-0.76.tar foozle:/package # cd admin/daemontools-0.76 foozle:/package/admin/daemontools-0.76 # package/install Linking ./src/* into ./compile... Compiling everything in ./compile... ./load envdir unix.a byte.a envdir.o(.text+0xd5): In function `main': : undefined reference to `errno' Here is the error if attempting to patch:
Code:
foozle:/package/admin/daemontools-0.76/src # patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
patching file error.h
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file error.h.rej
envdir.o(.text+0x1b0): In function `main':t Here is the error if attempting to patch:
Code:
foozle:/package/admin/daemontools-0.76/src # patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
patching file error.h
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file error.h.rej
he following : undefined reference to `errno' envdir.o(.text+0x1ca): In function `main':replace it with : undefined reference to `errno' unix.a(openreadclose.o)(.text+0x1e): In function `openreadclose': : undefined reference to `errno' unix.a(pathexec_run.o)(.text+0xf6): In function `pathexec_run': : undefined reference to `errno' unix.a(pathexec_run.o)(.text+0x167): more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [envdir] Error 1 Copying commands into ./command... cp: cannot stat `compile/svscan': No such file or directory foozle:/package/admin/daemontools-0.76 #
Here is the error if attempting to patch:
Code:
foozle:/package/admin/daemontools-0.76/src # patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
patching file error.h
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file error.h.rej
Here is the error if attempting to patch:
Code:
foozle:/package/admin/daemontools-0.76/src # patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
patching file error.h
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file error.h.rej
I made sure that I edited Edit error.h and removed the line 'extern int errno;' and replaced it with #include <errno.h>.

I would appreciate your help in getting this installed.
 
Old 01-17-2005, 03:58 PM   #2
ServerStorm
Member
 
Registered: Oct 2004
Posts: 76

Original Poster
Rep: Reputation: 15
I thought also that I might be missing something from the Glib libraries so I checked and found that the deve libraries were not installed. I installed them and then tried to compile again, but to no avail, same issue

I will plug on, but I hope someone out there can help!

Truly,
Very Stormy ServerStorm
 
Old 01-17-2005, 04:13 PM   #3
ServerStorm
Member
 
Registered: Oct 2004
Posts: 76

Original Poster
Rep: Reputation: 15
Smile

Hi

I was able to solve this and I thought I might pass on what I did. Here is the sequence that I used:

Code:
mkdir /package
chmod 1755 /package
cd /package
wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
tar -zxvf daemontools-0.76.tar.gz
mv admin/daemontools-0.76/ daemontools-0.76
rmdir admin/
wget http://www.qmail.org/moni.csi.hu/pub...76.errno.patch
patch -p0 < daemontools-0.76.errno.patch
cd daemontools-0.76/
./package/install
cd ..
rm daemontools-0.76.tar.gz daemontools-0.76.errno.patch
I added glib-devel2 libraries as well as glib static libraries, I chmod /package 1755 - I had not done this before. I used wget rather than using mozillia to download daemontools and the patch. I used the -p Num input option on the patch (If I understand it correctly it strips NUM leading components from file names. After these changes It patched and installed without errors. The solution could be all or just one of the things that I changed (sorry I didn't use proper troubleshooting and change one thing at a time) including download fresh TAR files.

Truly,
ServerStorm (in the distance of what is now a sunny day )

Last edited by ServerStorm; 01-17-2005 at 04:16 PM.
 
  


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
installing ieee80211 subsystem errors on SUSE 10.0 rc1 fuzzymallets Linux - Networking 12 12-07-2005 09:00 AM
Apache keeps restarting with DaemonTools humbletech99 Linux - Networking 4 11-14-2005 10:51 AM
Daemontools-0.76 installation - Error on Redhat 9 LukasM Linux - Software 9 05-05-2004 02:03 PM
"commands not found" errors when installing on Suse 9.0 sapphirewolf Linux - Software 5 03-25-2004 10:22 PM
DaemonTools-0.76 Questions Thinkgeekness Linux - Software 2 05-03-2003 01:44 AM

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

All times are GMT -5. The time now is 12:25 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