I seem to remember having to use gmake to get things going smoothly. I
haven't performed a qmail install on Solaris 9 so I'm afraid that I don't
have any experience in your exact environment. Sol8 on sparc sure caused a
few headaches with an older qmail/vpopmail release, I'm hoping things are
better now. 

Good luck and post any solutions you find.

Take Care,
Tony Rini

-----Original Message-----
From: Joseph Bruzzo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 24, 2004 8:13 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

I am currently running gcc-3.3, zlib-1.2.1. I will upgrade my gcc to 3.3.2
and try it again.  If that doesn't work do you have any other ideas.  It
would be greatly appreciated.

I have the life with qmail book.  thanks for the tidbit.

Joseph Bruzzo


> I've run into countless problems compiling stuff on Solaris 8. The first
> thing you should do is make sure you are using a recent version of gcc,
> not the cc or gcc that came with Solaris. You may have to change
> configure to point to your new gcc. Find gcc and other precompiled
> binaries at
> sunfreeware.com
>
> I also found some tidbits that are Solaris specific on the life with
> qmail site.
>
> Take Care,
>
> Tony Rini
>
> -----Original Message-----
> From: Joseph Bruzzo [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 24, 2004 7:14 AM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9
>
>
> Hi to all,
>
> I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris 9
> with all the security and recommended patches.  But I keep on getting
> this error that for the life of me I can not figure it out.
>
> Can anyone help???
>
> my Configuration options are as follows:
>
> bash-2.05# crle -c /var/ld/ld.config -l
> /usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/mysql/lib
>
> bash-2.05# ./configure --enable-roaming-users=n --enable-logging=p
> --enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y
> --enable-domain-quotas=n --enable-auth-module=mysql
> --enable-incdir=/usr/local/mysql/include
> --enable-libdir=/usr/local/mysql/lib --enable-many-domains=n
> --enable-auth-logging=y --enable-mysql-logging=y --enable-valias=y
> --enable-mysql-limits=n
>
>             vpopmail 5.4.0
>             Current settings
> ---------------------------------------
>
> vpopmail directory = /var/vpopmail
>                uid = 725
>                gid = 725
>      roaming users = OFF --disable-roaming-users (default)
>  password learning = OFF --disable-learn-passwords (default)
>      md5 passwords = ON  --enable-md5-passwords (default)
>       file locking = ON  --enable-file-locking (default)
> vdelivermail fsync = OFF --disable-file-sync (default)
>      make seekable = ON  --enable-make-seekable (default)
>       clear passwd = ON  --enable-clear-passwd (default)
>  user dir hashing  = ON  --enable-users-big-dir (default)
> address extensions = OFF --disable-qmail-ext (default)
>           ip alias = OFF --disable-ip-alias-domains (default)
>      domain quotas = OFF --disable-domainquotas (default)
>        auth module = mysql --enable-auth-module=mysql
>  mysql replication = OFF --disable-mysql-replication (default)
>      mysql logging = ON  --enable-mysql-logging
>       mysql limits = OFF --disable-mysql-limits (default)
>       MySQL valias = ON  --enable-valias
>           auth inc = -I/usr/local/mysql/include
>           auth lib = -L/usr/local/mysql/lib -R${exec_prefix}/lib
> -lmysqlclient -lz
>   system passwords = OFF --disable-passwd (default)
>         pop syslog = show failed attempts with clear text password
>                      --enable-logging=p
>       auth logging = ON  --enable-auth-logging (default)
> one domain per SQL table     = --disable-many-domains
>
> bash-2.05# /usr/ccs/bin/make  ## This produces the error below...
>
>
> gcc -I. -I/usr/local/mysql/include  -I. -I. -I.     -g -O2 -Wall -c
> `test -f 'vchkpw.c' || echo './'`vchkpw.c gcc -I.
> -I/usr/local/mysql/include -I. -I. -I.     -g -O2 -Wall -c `test -f
> 'hmac_md5.c' || echo
> './'`hmac_md5.c hmac_md5.c: In function `hmac_md5':
> hmac_md5.c:52: warning: implicit declaration of function `bzero'
> hmac_md5.c:54: warning: implicit declaration of function `bcopy'
> gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
> -L/usr/local/mysql/lib -R/usr/local/lib -lmysqlclient -lz -lcrypt
> Undefined                       first referenced
>  symbol                             in file
> socket
> /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
>            /usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
> gethostbyname_r
> /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
>            /usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
> getservbyname
> /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) floor
>            /usr/local/mysql/lib/libmysqlclient.a(password.o) inet_addr
>                       /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
> inet_ntoa
> /usr/local/mysql/lib/libmysqlclient.a(my_net.o) shutdown
>          /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) connect
>                      /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
> ld:
> fatal: Symbol referencing errors. No output written to vchkpw
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> make[2]: Leaving directory `/tmp/vpopmail-5.4.0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/vpopmail-5.4.0'
> make: *** [all] Error 2
>
>
>
> Any help will be greatly appreciated.  Also, thank you in advance.
>


----------------------------------------------------------------------
HigherAccess.com for web and email hosting needs.
http://www.higheraccess.com/




Reply via email to