Rolf E. Sonneveld wrote:
> Hi,
>
> thanks, Mike, for posting my question to this list. Your reply solved my 
> problem, but I got another problem during install, see below.
>
>   
>> On Thu, Sep 17, 2009 at 11:41:52PM +0200, Rolf E. Sonneveld 
>> <r.e.sonnev...@so...> wrote:
>>   
>>     
>>> running Ubuntu Server 8.04 LTS. Trying to compile dkim-filter 2.8.3. 
>>> First I installed libmilter using:
>>>
>>> $ sudo apt-get install libmilter1 libsendmail-pmilter-perl 
>>> libmilter1-dbg libmilter1 libmilter-dev
>>>
>>> Next I editted the file site.config.m4.dist and uncommented the last two 
>>> lines in this section:
>>>
>>> dnl libmilter -- Sendmail's milter library
>>> dnl
>>> dnl This must be in the search rules for your compile. If necessary,
>>> dnl adjust the paths below and enable the lines by deleting "dnl" from the
>>> dnl front of them.
>>> APPENDDEF(`bld_dkim_filter_INCDIRS', `-I/usr/include/libmilter ')
>>> APPENDDEF(`bld_dkim_filter_LIBDIRS', `-L/usr/lib/libmilter ')
>>>
>>> After running:
>>>
>>> $ sh ./Build
>>>
>>> I get:
>>>
>>> [...]
>>> make[1]: Entering directory 
>>> `/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/dkim-filter'
>>> cc -o dkim-filter -lpthread config.o dkim-ar.o dkim-arf.o dkim-crypto.o 
>>> dkim-db.o dkim-filter.o stats.o test.o util.o -lmilter 
>>>     
>>>       
>> As you can see from the above command line, the -L isn't being passed
>> properly. So we can start from the most obvious ones:
>>
>> Did you rename site.config.m4.dist to site.config.m4 and make sure it's
>> placed in devtools/Site?
>>
>> If you ran a build before tweaking site.config.m4, did you also remember
>> to ./Build clean and rm -r obj.*?
>>   
>>     
>
> Ah, that was my problem, didn't read the INSTALL properly. Now, the 
> build process runs fine, thanks a lot!
>
> However, the Build install does fail with the following error:
>
> $ sudo sh ./Build install
> Making all in:
> /home/user/dkim-milter-2.8.3/libar
> Configuration: pfx=, os=Linux, rel=2.6.24-16-server, rbase=2, rroot=2.6, 
> arch=i686, sfx=, variant=optimized
> Making in /home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libar
> make[1]: Entering directory 
> `/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libar'
> install -c -o bin -g bin -m 444 ar.0 /usr/man/man /usr/share/man/man3/ar.3
> install: target `/usr/share/man/man3/ar.3' is not a directory
> make[1]: *** [install-docs] Error 1
> make[1]: Leaving directory 
> `/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libar'
> make: *** [all] Error 2
>
> In site.config.m4 I have defined:
>
> APPENDDEF(`confMANROOT', `/usr/share/man/man')
> APPENDDEF(`confMANROOTMAN', `/usr/share/man/man')
>
> as the all man pages reside under /usr/share/man on this system. The 
> file /usr/share/man/man3/ar.3 does not exist on my system. Am I missing 
> some prerequisite software?
>
> I even tried to create the /usr/share/man/man3/ar.3 directory, and then 
> it complaint about /usr/man/man being non-existent. Next I made a 
> symlink from /usr/man/man to /usr/share/man and tried an install, but 
> then I get:
>
> $ sudo sh ./Build install
> Making all in:
> /home/user/dkim-milter-2.8.3/libar
> Configuration: pfx=, os=Linux, rel=2.6.24-16-server, rbase=2, rroot=2.6, 
> arch=i686, sfx=, variant=optimized
> Making in /home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libar
> make[1]: Entering directory 
> `/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libar'
> install -c -o bin -g bin -m 444 ar.0 /usr/man/man /usr/share/man/man3/ar.3
> install: omitting directory `/usr/man/man'
> make[1]: *** [install-docs] Error 1
> make[1]: Leaving directory 
> `/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libar'
> make: *** [all] Error 2
>
> Although the man pages are not really important to me, the install 
> simply stops and I can't get it install correctly.
> Any ideas?
>   

to answer my own question: I defined:

APPENDDEF(`confNO_MAN_BUILD', `')
APPENDDEF(`confNO_MAN_INSTALL', `')

in site.config.m4 and now installation finishes OK. Still interested to 
learn how I can install _including_ the man files...

/rolf


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
dkim-milter-discuss mailing list
dkim-milter-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to