procmail
[Top] [All Lists]

build problems with procmail-3.22

2002-12-11 02:42:44

Hi ,
       I'm a newbie to this mailing list .

       I tried building procmail-3.22 on the following machines


                  cygwin - Redhat's Cygwin 1.3.6 or later on Windows 95
or NT
                  darwin - PowerPC running Apple Darwin (Mac OS X)  5.2
or later

        the build failed giving me the following error

          for cygwin machine :


                    Initiating fcntl()/kernel-locking-support tests
                    Whoeaaa!  There's something fishy going on here.
                    You have a look and see if you detect anything
uncanny:

*******************************************************
                    make[3]: Entering directory
`/home/expmake/build/procmailsrc/procmail/src'
                    gcc -c -O   _autotst.c
                    gcc -O   _autotst.o -o _autotst -s   -lm -lsocket
-lnsl -lgen -ldl -lc

/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lsocket
                    collect2: ld returned 1 exit status
                    make[3]: *** [_autotst] Error 1
                    make[3]: Leaving directory
`/home/expmake/build/procmailsrc/procmail/src'

*******************************************************
                    I suggest you take a look at the definition of
LDFLAGS*
                    in the Makefile before you try make again.
                    make[2]: *** [../autoconf.h] Error 1
                    make[2]: Leaving directory
`/home/expmake/build/procmailsrc/procmail/src'
                    make[1]: *** [autoconf.h] Error 2
                    make[1]: Leaving directory
`/home/expmake/build/procmailsrc/procmail'
                    make: *** [dobuild] Error 2
                    + rm -f
/home/expmake/build/procmailsrc/.expmake.lock
                    + rm -f
/usr/expsources/build/procmailsrc/.expmake.lock.cygwin
                    + date
                    Tue Dec 10 08:45:01 EST 2002



 I  tried options like removing the -lsocket and-lnsl and running it .
but I got the following error

                    Initiating fcntl()/kernel-locking-support tests
                    Whoeaaa!  There's something fishy going on here.
                    You have a look and see if you detect anything
uncanny:

*******************************************************
                    make[3]: Entering directory
`/home/expmake/build/procmailsrc/procmail/src'
                    gcc -c -O   _autotst.c
                    gcc -O   _autotst.o -o _autotst -s   -lm -ldl -lc

/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -ldl
                    collect2: ld returned 1 exit status
                    make[3]: *** [_autotst] Error 1
                    make[3]: Leaving directory
`/home/expmake/build/procmailsrc/procmail/src'

*******************************************************
                    I suggest you take a look at the definition of
LDFLAGS*
                    in the Makefile before you try make again.
                    make[2]: *** [../autoconf.h] Error 1
                    make[2]: Leaving directory
`/home/expmake/build/procmailsrc/procmail/src'
                    make[1]: *** [autoconf.h] Error 2
                    make[1]: Leaving directory
`/home/expmake/build/procmailsrc/procmail'
                    make: *** [dobuild] Error 2
                    + rm -f
/home/expmake/build/procmailsrc/.expmake.lock
                    + rm -f
/usr/expsources/build/procmailsrc/.expmake.lock.cygwin
                    + date
                    Wed Dec 11 02:10:31 EST 2002
                    ~

                    Can you please tell me where I'm going wrong .

                    In case of darwin machine I get the following error.
I used 'cc' in place of 'gcc'

                    Initiating fcntl()/kernel-locking-support tests
                    Whoeaaa!  There's something fishy going on here.
                    You have a look and see if you detect anything
uncanny:

*******************************************************
                    cc -c -O   _autotst.c
                    cc -O   _autotst.o -o _autotst -s   -lm -ldl -lc
                    /usr/bin/ld: can't locate file for: -ldl
                    make[3]: *** [_autotst] Error 1

*******************************************************
                    I suggest you take a look at the definition of
LDFLAGS*
                    in the Makefile before you try make again.
                    make[2]: *** [../autoconf.h] Error 1
                    make[1]: *** [autoconf.h] Error 2
                    make: *** [dobuild] Error 2
                    + rm -f
/opt/exp/expmake/build/procmailsrc/.expmake.lock
                    + rm -f
/usr/expsources/build/procmailsrc/.expmake.lock.darwin
                    + date
                    Wed Dec 11 02:05:52 EST 2002

                    Could you please help me in how to solve this error
.

                    Hava nice day!

                    Regards,

                     Shashi
http://ihgpweb.ih.lucent.com/~sshashi

--
S.Shashikanth
ODA,Lucent Development Centre
Ph: 1 630 224 9760 x221
http://ihgpweb.ih.lucent.com/~sshashi


<Prev in Thread] Current Thread [Next in Thread>