niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Qmail
Problem with qmailanalog on Fedora
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Léo Le Naour
*nix forums beginner


Joined: 18 Jul 2006
Posts: 1

PostPosted: Tue Jul 18, 2006 7:52 pm    Post subject: Problem with qmailanalog on Fedora Reply with quote

Hello,
Where can I find a qmailanalog rpm for Fedora ?
I've tried to install it but the compilation does'nt work (her is the error
:


../makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o fmt_ushort.o scan_uint.o scan_ulong.o \
scan_ushort.o
../compile case_lowers.c
../makelib case.a case_lowers.o
../load matchup strerr.a getln.a substdio.a stralloc.a \
alloc.a error.a str.a fs.a case.a
strerr.a(strerr_sys.o)(.text+0x8): dans la fonction « strerr_sysinit »:
: undefined reference to `errno'
substdio.a(substdi.o)(.text+0x2a): dans la fonction « oneread »:
: undefined reference to `errno'
substdio.a(substdo.o)(.text+0x43): dans la fonction « allwrite »:
: undefined reference to `errno'
alloc.a(alloc.o)(.text+0x48): dans la fonction « alloc »:
: undefined reference to `errno'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [matchup] Erreur 1


)

Thanks
Back to top
Richard Feldmann
*nix forums addict


Joined: 06 Jun 2005
Posts: 62

PostPosted: Tue Jul 18, 2006 8:15 pm    Post subject: Re: Problem with qmailanalog on Fedora Reply with quote

Just build it from source yourself, it's quite simple.

http://cr.yp.to/qmailanalog.html

Regards,
Richard

--
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco
Back to top
Andreas Maus
*nix forums beginner


Joined: 18 Mar 2005
Posts: 3

PostPosted: Tue Jul 18, 2006 8:24 pm    Post subject: Re: Problem with qmailanalog on Fedora Reply with quote

Quote:
Hello,
Hi.


Quote:
alloc.a(alloc.o)(.text+0x48): dans la fonction « alloc »:
: undefined reference to `errno'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [matchup] Erreur 1
*sigh*


Possible solutions:

a) use your favorite search engine and search for "qmail" and "errno"
(You should do this _before_ posting to this list)

or

b) Apply a patch like: http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch

or

c) edit error.h and replace "extern int errno;" with "#include <errno.h>;"

This problem has been posted many times (can't count them) so you should always use
your favorite search engine (google/yahoo/what_ever).

(and searching qmail.org for errno reveals:
"
* Erwin Hoffmann suggests a one-line fix to the errno compilation problem.
It works for most DJB software:
cat error.h | sed -es/^extern\ int\ errno\;/#include\ \<errno.h\>/ >error.h
Or, djb suggests that you edit conf-cc to read:
cc -O2 -include /usr/include/errno.h
")

HTH,

Andreas.

P.S.: Note Charles disclaimer and read: http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html

--
Out of the darkness a voice spoke unto me, saying "smile, things could
be worse". So I smiled, and so, things became worse.
Back to top
Richard Feldmann
*nix forums addict


Joined: 06 Jun 2005
Posts: 62

PostPosted: Tue Jul 18, 2006 8:40 pm    Post subject: Re: Problem with qmailanalog on Fedora Reply with quote

Richard Feldmann spake thusly on Tue, Jul 18, 2006 at 02:15:05PM -0600:
Quote:
Just build it from source yourself, it's quite simple.

http://cr.yp.to/qmailanalog.html

Regards,
Richard

--
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco

Oops! Maybe I should pay more attention. :)

That error is easy to fix: http://cr.yp.to/docs/unixport.html#errno

--- end quoted text ---

--
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco
Back to top
Erwin Hoffmann
*nix forums addict


Joined: 24 Jan 2005
Posts: 71

PostPosted: Fri Jul 21, 2006 11:38 am    Post subject: Re: Problem with qmailanalog on Fedora Reply with quote

Hi,

At 21:52 18.07.2006 +0200, Léo Le Naour wrote:
Quote:

Hello, Where can I find a qmailanalog rpm for Fedora ? I've tried to
install it but the compilation does'nt work (her is the error :

Even after successfully installing qmailanalog, it will not work on Fedora
in every aspect. The Fedora developers spoilt the standard POSIX/Unix
"sort" program: It does not allow to specify a column (sort +n); thus the
sort will fail due to incorrect args.

regards.
--eh.





Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 8:30 pm | All times are GMT
navigation Forum index » Apps » Qmail
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

Satellite TV for PC | Credit Report | Loans | Personal Car Finance | Charity
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2664s ][ Queries: 16 (0.1577s) ][ GZIP on - Debug on ]