I thought this was answered already....

the ltdl.h file comes from the libtool-ltdl-devel package. However, for the .h file to have any meaning, you'll also need to install the libtool-ltdl package.

So, PRIOR to running the rpmbuild on the courier-authlib-toaster, please run the following command:
# yum install libtool-ltdl*

NOTE: If you want to be more specific, you can run:
# yum install libtool-ltdl.i368 libtool-ltdl-devel.i386
# yum install libtool-ltdl.x86_64 libtool-ltdl-devel.x86_64

Now, obviously you don't want to install the x86_64 versions if you're running 32-bit FC8, but if you're running the 64-bit version, you DO need to install BOTH versions (BOTH i386 & x86_64)

The next issue you'll have is with the simscan package.... we're (QMT) still using an older version that allows a file open call to NOT specify a set of permissions (old UNIX fully supported this, as there is a value called a UMASK that provides the missing information if you don't specify it). In any case, our (QMT) simscan package will have to be manually built:

To do this, go ahead and run the rpmbuild -- it'll error out tho...
Then go to /usr/src/redhat/BUILD/simscan-1.3.1 (I think that's still our current version) and edit simscanmk.c There are 2 lines that need to be changed -- both the same way. Lines 133 & 379 (I think). In each case, you need to add a value to the end of the open function call.
My lines look like:
if ( (fdout = open(CdbTmpFile, O_CREAT | O_TRUNC | O_WRONLY, 0x0644)) < 0) {
Others have suggested 0x0777 or others... I prefer MINIMAL settings.
(These numbers represent the UNIX file permissions -- if you don't understand them, consult "man chmod")

Once you've fixed the two lines, you should be able to run "make" & "make install" without a problem, as the configure has already been executed.

Finally, understand that the RPM facility will NOT show the simscan-toaster package as being installed because you didn't complete the rpmbuild. Don't sweat it. Depending upon the build/install script you're using, just comment out the simscan check & move on.

I hope this helps!

Dan

Daniel McAllister, President

IT4SOHO, LLC
PO BOX 507
St. Petersburg, FL 33731-0507

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

"When did you do your last backup?"

Ask me about unattended offsite backup solutions...
to protect your business, not just your data!



Eric Shubert 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.


---------------------------------------------------------------------
    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