I believe Dan explained how to get around this problem in a post on this thread, 2 days ago.

I don't believe you should be having this problem with centos 4 though, as you said you're using.

Have you install qmailtoaster-plus? You might want to do so, then report back the results of the qtp-whatami command.

Gregory Machin wrote:
Yes and It fixed the courier compile problem but now I'm stuck on
simscan-toaster-1.3.1-1.3.6.src.rpm

./makelib byte.a byte_copy.o byte_cr.o str_len.o \
        fmt_ulong.o uint32_unpack.o byte_diff.o uint32_pack.o \
        scan_ulong.o
./compile alloc.c
alloc.c:3: warning: conflicting types for built-in function 'malloc'
./makelib alloc.a alloc.o
make[2]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1/cdb'
make[2]: Entering directory `/usr/src/redhat/BUILD/simscan-1.3.1'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -c `test -f 'simscan.c' || echo
'./'`simscan.c
simscan.c: In function 'main':
simscan.c:802: warning: missing sentinel in function call
simscan.c:307: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:411: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:598: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:681: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:739: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c: In function 'check_spam':
simscan.c:1376: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c: In function 'check_remote_host':
simscan.c:2414: warning: pointer targets in passing argument 1 of
'strcasecmp' differ in signedness
simscan.c: In function 'per_domain_lookup':
simscan.c:1780: warning: 'val' may be used uninitialized in this function
gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall   -o simscan
simscan.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -c `test -f 'simscanmk.c' || echo
'./'`simscanmk.c
In function 'open',
    inlined from 'make_cdb' at simscanmk.c:379:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments
make[2]: *** [simscanmk.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.30567 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.30567 (%build)


what the ????


On Tue, Oct 21, 2008 at 6:54 PM, Eric Shubert <[EMAIL PROTECTED]> wrote:
Have you done what Erik E. suggested?

Gregory Machin wrote:
I'm using the centos 4 toaster that is specified in the wiki for
fedora installs.

On Mon, Oct 20, 2008 at 7:16 PM, Eric Shubert <[EMAIL PROTECTED]> wrote:
Gregory Machin wrote:
Hi
I'm have switched to fedora 8 i386 in the hope that the toaster would
work ..... mmmm not quite .. I'm still suffering ...
please can someone help ..

courier-authlib-toaster fails to build because of a missing
dependency. Yet all the required dependancies are installed libtool ,
automake autoconf etc ..


[EMAIL PROTECTED] qtms-install]# rpmbuild --rebuild
courier-authlib-toaster-0.59.2-1.3.6.src.rpm
Installing courier-authlib-toaster-0.59.2-1.3.6.src.rpm
error: Failed build dependencies:
      /usr/include/ltdl.h is needed by
courier-authlib-toaster-0.59.2-1.3.6.i386
[EMAIL PROTECTED] qtms-install]#


I even tried doing a manual ./configure make to get more detail ...

Compiling authdaemontest.c
Linking authdaemontest
Compiling authmksock.c
Linking authmksock
Compiling authdaemond.c
authdaemond.c:28:18: error: ltdl.h: No such file or directory
authdaemond.c:48: error: expected specifier-qualifier-list before
'lt_dlhandle'
authdaemond.c: In function 'initmodules':
authdaemond.c:97: warning: implicit declaration of function 'lt_dlclose'
authdaemond.c:97: error: 'struct authstaticinfolist' has no member named
'h'
authdaemond.c:104: error: 'lt_dlhandle' undeclared (first use in this
function)
authdaemond.c:104: error: (Each undeclared identifier is reported only
once
authdaemond.c:104: error: for each function it appears in.)
authdaemond.c:104: error: expected ';' before 'h'
authdaemond.c:105: error: 'lt_ptr' undeclared (first use in this
function)
authdaemond.c:105: error: expected ';' before 'pt'
authdaemond.c:122: error: 'h' undeclared (first use in this function)
authdaemond.c:122: warning: implicit declaration of function
'lt_dlopenext'
authdaemond.c:126: warning: implicit declaration of function
'lt_dlerror'
authdaemond.c:126: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
authdaemond.c:132: error: 'pt' undeclared (first use in this function)
authdaemond.c:132: warning: implicit declaration of function 'lt_dlsym'
authdaemond.c:138: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
authdaemond.c:153: error: 'struct authstaticinfolist' has no member
named
'h'
authdaemond.c: In function 'start':
authdaemond.c:948: warning: implicit declaration of function 'lt_dlinit'
authdaemond.c:951: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
authdaemond.c:955: warning: implicit declaration of function
'lt_dlsetsearchpath'
authdaemond.c:958: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
make[2]: *** [authdaemond.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/SOURCES/courier-authlib-0.59.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/courier-authlib-0.59.2'
make: *** [all] Error 2

How do I fix this ??
Thanks

FC8 isn't officially supported, but you can find ways to make it work in
the
list archives. If you want a toaster that "just works", use CentOS, v4 or
v5.

--
-Eric 'shubes'


--
-Eric 'shubes'


---------------------------------------------------------------------
   QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>


--
-Eric 'shubes'


---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to