Menu

Cant compile under Conectiva Linux 8.0

2003-06-10
2003-06-21
  • Ivan Mirisola

    Ivan Mirisola - 2003-06-10

    Hello people,

    Maybe someone can help me out.
    I have a linux distribution that is very similar to RedHat 7.3, but I was unable to compile vimap with source files.

    I have all the necessary pacages to build it and I am trying to build with
    # rpm --rebuild imap-2002c1-1.virtual.src.rpm

    But I get the following errors during compilation:

    news.c: In function `news_open':
    news.c:309: warning: passing arg 3 of `scandir' from incompatible pointer type
    `cat CCTYPE` -c `cat CFLAGS` phile.c
    `cat CCTYPE` -c `cat CFLAGS` mh.c
    mh.c: In function `mh_ping':
    mh.c:639: warning: passing arg 3 of `scandir' from incompatible pointer type
    mh.c: In function `mh_append':
    mh.c:896: warning: passing arg 3 of `scandir' from incompatible pointer type
    `cat CCTYPE` -c `cat CFLAGS` mx.c
    mx.c: In function `mx_ping':
    mx.c:592: warning: passing arg 3 of `scandir' from incompatible pointer type
    `cat CCTYPE` -c `cat CFLAGS` flock.c
    sh -c 'rm -rf c-client.a || true'
    ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o flock.o;ranlib c-client.a
    make[3]: Leaving directory `/usr/src/rpm/BUILD/imap-2002c1/c-client'
    make[2]: Leaving directory `/usr/src/rpm/BUILD/imap-2002c1/c-client'
    echo lnv > OSTYPE
    touch rebuild
    sh -c 'rm -rf rebuild || true'
    Building bundled tools...
    cd mtest;make
    make[2]: Entering directory `/usr/src/rpm/BUILD/imap-2002c1/mtest'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mtest.o mtest.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    /usr/bin/ld: cannot find -lgssapi_krb5
    collect2: ld returned 1 exit status
    make[2]: *** [mtest] Error 1
    make[2]: Leaving directory `/usr/src/rpm/BUILD/imap-2002c1/mtest'
    make[1]: *** [bundled] Error 2
    make[1]: Leaving directory `/usr/src/rpm/BUILD/imap-2002c1'
    make: *** [lnv] Error 2

    Any ideas?

    Thanks

     
    • Patrik Hall

      Patrik Hall - 2003-06-21

      Try to disable kerberos in the spec file, I think that will solve your problems

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.