nelze zkompilovat ProFTPd s OpenSSL z portu

Roman Neuhauser neuhauser at sigpipe.cz
Mon Jul 4 10:43:59 CEST 2005


# 000.fbsd at quip.cz / 2005-07-04 10:20:48 +0200:
> Mam tu "drobny" problem s kompilaci ProFTPd a ackoliv jsem zkousel 
> dohledat jak to napravit, nic rozumneho me nenapadlo a poradne ani 
> nevim, co hledat. Vim jen to, ze je to problem s OpenSSL a ze je to 
> patrne tim, ze nepouzivam systemove OpenSSL, ale OpenSSL z ports. V 
> /etc/make.conf je NO_OPENSSL= true
> 
> ---------------------------------
> # cd /usr/ports/ftp/proftpd-mysql
> # make WITH_OPENSSL=yes WITH_QUOTA=yes
> 
> ===>  Found saved configuration for proftpd-mysql-1.2.10_3
> ===>  Extracting for proftpd-mysql-1.2.10_3
> => Checksum OK for proftpd-1.2.10.tar.bz2.
> ===>  Patching for proftpd-mysql-1.2.10_3
> ===>  Applying FreeBSD patches for proftpd-mysql-1.2.10_3
> ===>   proftpd-mysql-1.2.10_3 depends on executable: gmake - found
> ===>   proftpd-mysql-1.2.10_3 depends on shared library: mysqlclient.14 
> - found
> ===>  Configuring for proftpd-mysql-1.2.10_3
> ==> Configuring with 
> mod_tls:mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_file:mod_quotatab_sql
> configure: WARNING: you should use --build, --host, --target
> checking build system type... i386-portbld-freebsd4.11
> checking host system type... i386-portbld-freebsd4.11
> checking target system type... i386-portbld-freebsd4.11
> checking for i386-portbld-freebsd4.11-gcc... cc
> checking for C compiler default output... configure: error: C compiler 
> cannot create executables
> See `config.log' for more details.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to thomas at goirand.fr [maintainer] and attach the
> "/usr/ports/ftp/proftpd-mysql/work/proftpd-1.2.10/config.log" including the
> output of the failure of your make command. Also, it might be a good idea to
> provide an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/ftp/proftpd-mysql.
> *** Error code 1
> 
> Stop in /usr/ports/ftp/proftpd-mysql.
> ---------------------------------
> 
> Pokud pri kompilaci vynecham WITH_OPENSSL=yes, tak probiha vse normalne.
> config.log http://www.quip.cz/1/nyx2/freebsd/proftpd-mysql.config.log
> V config.logu je problem patrne v tomhle:
> 
> ---------------------------------
> configure:1846: cc -O -pipe -march=pentiumpro -DHAVE_OPENSSL 
> conftest.c -lssl -lcrypto >&5
> /usr/libexec/elf/ld: cannot find -lssl

    Pokud spravne ctu komentare v Mk/bsd.openssl.mk a slouzi mi pamet,
    neni USE_OPENSSL nastavene po Mk/bsd.port.pre.mk k nicemu. Coz by
    znamenalo, ze port ftp/proftpd je rozbity, a mel byste udelat, co
    Vam bylo doporuceno ohledne thomas at goirand.fr v textu vyse.

    Vic by Vam asi rekly debaty ohledne OPTIONS a USE_OPENSSL na
    freebsd-ports at .

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991



More information about the Users-l mailing list