[BlueOnyx:04781] Re: ProFTPD module mod_ifsession

John Simpson john at swajime.com
Sun Jun 20 19:31:36 -05 2010


The "yum localinstall" wasn't helpful.

# wget http://www.blueonyx.it/pub/BlueOnyx/SRPMS/5106R/proftpd-1.3.2a-1BX3.src.rpm
# rpm -ivh proftpd-1.3.2a-1BX3.src.rpm
# yum install pam-devel ncurses-devel openssl-devel krb5-devel
openldap-devel mysql-devel zlib-devel libacl-devel postgresql-devel
# rpmbuild -bp /usr/src/redhat/SPECS/proftpd-1.3.2a-1BX3.spec
# cd /usr/src/redhat/BUILD/proftpd-1.3.2a/
# ./configure  --build=i686-redhat-linux-gnu
--host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --libexecdir=/usr/libexec/proftpd
--localstatedir=/var/run --enable-ctrls --enable-dso --enable-facl
--enable-ipv6 --enable-openssl --with-includes=/usr/include/mysql
--with-libraries=/usr/lib/mysql
--with-modules=mod_readme:mod_auth_pam:mod_tls:mod_ban:mod_ifsession
--with-shared=mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_sql
build_alias=i686-redhat-linux-gnu host_alias=i686-redhat-linux-gnu
target_alias=i386-redhat-linux-gnu CFLAGS="-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -I/usr/kerberos/include"
LDFLAGS="-L/usr/kerberos/lib"   CXXFLAGS="-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables" FFLAGS="-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables"

That gives me this:
"checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details."

The config.log has this:

configure:4152: checking how to run the C preprocessor
configure:4192: gcc -E  conftest.c
configure:4198: $? = 0
configure:4229: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4235: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PR_BUILD_OPTS " '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--libexecdir=/usr/libexec/proftpd'
'--localstatedir=/var/run' '--enable-ctrls' '--enable-dso'
'--enable-facl' '--enable-ipv6' '--enable-openssl'
'--with-includes=/usr/include/mysql' '--with-libraries=/usr/lib/mysql'
'--with-modules=mod_readme:mod_auth_pam:mod_tls:mod_ban:mod_ifsession'
'--with-shared=mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_sql'
'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu'
'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -I/usr/kerberos/include  ' 'LDFLAGS=
-L/usr/kerberos/lib  ' 'CXXFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables' 'FFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables'"
| #define PR_PLATFORM "LINUX"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4268: result: gcc -E

I'm feeling stumped ... :-(
-- 
John Wesley Simpson
SwaJime's Cove℠
www.swajime.com




More information about the Blueonyx mailing list