Thanks for the reply, I saw the errors but I'm stumped as to what's going
on.  I'm compiling as root and have full access to /mail/apache/cgi-bin.
I've been messing around with the install -c command and looking through the
makefile but am not an expert at programming.



-----Original Message-----
From: Tim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [qmailadmin] qmail compile issue


I guess you missed the actual errors

  /usr/bin/install -c  qmailadmin /mail/apache/cgi-bin/qmailadmin
cp: cannot access /mail/apache/cgi-bin/qmailadmin
install: cp /mail/apache/cgi-bin/qmailadmin qmailadmin/qmailadmin failed
make[2]: *** [install-binPROGRAMS] Error 2


Jason Dearborn <[EMAIL PROTECTED]> wrote:
> Apparently I am suffering from screen fatigue.  Missed an error in the
> ./configure that said ~vpopmail/etc/inc_deps and lib_deps were
> missing ??? I recreated them thus:
>
> ~vpopmail/etc/inc_deps
> -I/mail/home/vpopmail/include
>
> ~vpopmail/etc/lib_deps
> -L/mail/home/vpopmail/lib -lvpopmail
>
> Unfortunately now make install is complaining:
>
> **************make output************************
> # make
> make  all-recursive
> make[1]: Entering directory `/mail/software/qmailstuff/qmailadmin-
> 1.0.6' make[2]: Entering directory
> `/mail/software/qmailstuff/qmailadmin-1.0.6' gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c qmailadmin.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c alias.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c autorespond.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c forward.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c mailinglist.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c user.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c util.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c auth.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c template.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c command.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c show.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c cgi.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c limits.c gcc -I. -
> I/mail/home/vpopmail/include      -g -O2 -c dotqmail.c gcc  -g -O2  -
> o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o
> mailinglist.o user.o util.o au th.o template.o command.o show.o cgi.o
> limits.o dotqmail.o -L/mail/home/vpopmail/lib -lvpopmail -lnsl -
> lm -lcrypt
> make[2]: Leaving directory `/mail/software/qmailstuff/qmailadmin-
> 1.0.6' make[1]: Leaving directory
> `/mail/software/qmailstuff/qmailadmin-1.0.6'
>
>
> ************* make install output *********************
> make[1]: Entering directory `/mail/software/qmailstuff/qmailadmin-
> 1.0.6' make[2]: Entering directory
> `/mail/software/qmailstuff/qmailadmin-1.0.6' /bin/sh ./mkinstalldirs
> /mail/apache/cgi-bin   /usr/bin/install -c  qmailadmin
> /mail/apache/cgi-bin/qmailadmin cp: cannot access /mail/apache/cgi-
> bin/qmailadmin install: cp /mail/apache/cgi-bin/qmailadmin
> qmailadmin/qmailadmin failed make[2]: *** [install-binPROGRAMS] Error
> 2 make[2]: Leaving directory `/mail/software/qmailstuff/qmailadmin-
> 1.0.6' make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/mail/software/qmailstuff/qmailadmin-
> 1.0.6' make: *** [install-recursive] Error 1
>
>
>
>
>
> -----Original Message-----
> From: vol [mailto:vol]On Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, August 14, 2002 3:28 PM
> To: Jason Dearborn
> Cc: [EMAIL PROTECTED]
> Subject: Re: [qmailadmin] qmail compile issue
>
>
> It isnt finding your vpopmail libraries.
> You can modify the Makefile (after configuring) and add
> -L/full/path/to/vpopmail/lib
> and -lvpopmail to your link lines.
>
> Jason Dearborn wrote:
>>
>> Have the following installed and working:
>>
>> qmail-1.0.3
>> vpopmail-5.2.1
>>
>> Configuring with the following options:
>>
>> ./configure --enable-vpopmaildir=/mail/home/vpopmail \
>>    --enable-htmldir=/mail/apache/htdocs \
>>    --enable-cgibindir=/mail/apache/cgi-bin
>>
>> Configure works fine.  Make spits out the following:
>>
>> # make
>> make  all-recursive
>> make[1]: Entering directory `/mail/software/qmailstuff/qmailadmin-
>> 1.0.6' make[2]: Entering directory
>> `/mail/software/qmailstuff/qmailadmin-1.0.6' gcc -I.       -g -O2 -c
>> qmailadmin.c gcc -I.       -g -O2 -c alias.c
>> gcc -I.       -g -O2 -c autorespond.c
>> gcc -I.       -g -O2 -c forward.c
>> gcc -I.       -g -O2 -c mailinglist.c
>> gcc -I.       -g -O2 -c user.c
>> gcc -I.       -g -O2 -c util.c
>> gcc -I.       -g -O2 -c auth.c
>> gcc -I.       -g -O2 -c template.c
>> gcc -I.       -g -O2 -c command.c
>> gcc -I.       -g -O2 -c show.c
>> gcc -I.       -g -O2 -c cgi.c
>> gcc -I.       -g -O2 -c limits.c
>> gcc -I.       -g -O2 -c dotqmail.c
>> gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o
>> forward.o mailinglist.o user.o util.o au
>> th.o template.o command.o show.o cgi.o limits.o
>> dotqmail.o  -lnsl -lm -lcrypt
>> Undefined                       first referenced
>>  symbol                             in file
>> vauth_user                          qmailadmin.o
>> vclose                              qmailadmin.o
>> vget_assign                         qmailadmin.o
>> vauth_setpw                         user.o
>> vauth_getall                        user.o
>> vdeluser                            user.o
>> lowerit                             mailinglist.o
>> vauth_getpw                         qmailadmin.o
>> vpasswd                             user.o
>> vdelfiles                           autorespond.o
>> vadduser                            user.o
>> verror                              user.o
>> ld: fatal: Symbol referencing errors. No output written to qmailadmin
>> collect2: ld returned 1 exit status
>> make[2]: *** [qmailadmin] Error 1
>> make[2]: Leaving directory `/mail/software/qmailstuff/qmailadmin-
>> 1.0.6' make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/mail/software/qmailstuff/qmailadmin-
>> 1.0.6' make: *** [all-recursive-am] Error 2
>>
>> After searching the archives, others having ld: fatal errors were
>> advised to up or downgrade to compatible version of vpopmail /
>> qmailadmin.  I have yet to see messages regarding the compatibility
>> of qmailadmin v1 and vpopmail 5.2
>>
>>   Perhaps I'm going blind after looking at text all day but I found
>> no reference on the inter7 site to potential incompatibilities.
>>
>> Any help is appreciated.
>>
>> -jason
>>
>> You are not here merely to make a living. You are here to
>> enable the world to live more amply, with greater vision,
>> and with a finer spirit of hope and achievement. You are
>> here to enrich the world.
>> -- Woodrow Wilson




Reply via email to