I am attempting to build Mahogany from the the src rpm

I am using mahogany-0.64-0.src.rpm, and upon executing 
rpmbuild --rebuild --target=i586 mahogany-0.64-0.src.rpm, I get the
following output.  At the bottom, it complains or an error, but I'm not
sure what the error exactly is, and I also don't know how to fix it. 
Could someone help?

I am building this on a freshly installed Redhat 8.0 system.

Thanks,
-Ron

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.76510
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd mahogany-0.64
+ LANG=C
+ export LANG
+ '[' '!' -f configure ']'
+ CFLAGS=-O2 -march=i586
+ ./configure --prefix=/var/tmp/mahogany-root//usr/local
creating cache ./config.cache

*** Configuring Mahogany for linux-gnu ***

checking for optimization... yes
checking for debug code... no
checking for debuging info... no
checking for wxWin debug libs... no
checking for dmalloc library... no
checking for LeakTracer... no
checking for ElectricFence... no
checking for profiling... no
checking for strict compiler options... no
checking for i18n support... yes
checking for Python scripting... none
checking for whether we should use SWIG... yes
checking for special dial-up support... yes
checking for experimental code... no
checking for multi-threading... no
checking for Palm Pilot support... no
checking for c-client OS type... no
checking for modules... auto
checking for SSL support... yes
checking for install location... /var/tmp/mahogany-root//usr/local
updating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i586 ) works... yes
checking whether the C compiler (gcc -O2 -march=i586 ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for working const... yes
checking for inline... inline
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking if c++ supports logical operator names... yes
checking if c++ can redefine logical operator names... no
checking if logical operator names can be disabled...
-fno-operator-names
checking if disabling the logical operator names is buggy... no
checking for ranlib... ranlib
checking for m4... /usr/bin/m4
checking for bison... bison -y
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking for variable length prototypes and stdarg.h... yes
checking for bad exec* prototypes... yes
checking how to run the C++ preprocessor... c++ -E
checking for ANSI C header files... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for strsep... yes
checking for openssl/ssl.h... yes (in standard location)
checking for main in -lcrypto... yes (in standard location)
checking for main in -lssl... yes (in standard location)
checking for socket... yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for main in -ldl... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for main in -lshadow... no
checking for res_query... no
checking for res_query in -lresolv... yes
checking for regex.h... yes
checking for regcomp... yes
configure: warning: Mahogany will be built without embedded Python
interpreter
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for wx-config... /usr/bin/wx-config
checking for wxWindows version >= 2.3.2... yes (version 2.4.0)
checking for pam_end in -lpam... yes
checking for c-client library OS type... lnp
checking for perl... /usr/bin/perl
checking for latex... /usr/bin/latex
checking for makeindex... /usr/bin/makeindex
checking for dvips... no
checking for ps2pdf... /usr/bin/ps2pdf
checking for latex2html... /usr/bin/latex2html
configure: warning: One of the tools required to build documentation
                    is missing.  Documentation cannot be built on this
                    system and you will need a pre-built Mdocs.tar.gz instead.
updating cache ./config.cache
creating ./config.status
creating makeopts
creating include/config.h
+ sed s@/var/tmp/mahogany-root/@@g include/config.h
+ mv include/config.h.new include/config.h
+ '[' x = x ']'
+ '[' x '!=' x ']'
+ export MAKE=make
+ MAKE=make
+ make quartstatic
make[1]: Entering directory
`/usr/src/redhat/BUILD/mahogany-0.64/include'
/usr/bin/m4  -DM4FILE=.src/mid2idl.m4 >MInterface.idl MInterface.mid
/usr/bin/m4  -DM4FILE=.src/mid2h.m4 >MInterface.h MInterface.mid
/usr/bin/m4  -DM4FILE=.src/mid2cpp.m4 >MInterface.cpp MInterface.mid
make[1]: Leaving directory `/usr/src/redhat/BUILD/mahogany-0.64/include'
make[1]: Entering directory `/usr/src/redhat/BUILD/mahogany-0.64/extra'
make -j1 -C src/c-client -f .src/Makefile.M
make[2]: Entering directory
`/usr/src/redhat/BUILD/mahogany-0.64/extra/src/c-client'
make -j1 build EXTRACFLAGS='-I/usr/include/openssl -DNO_IDEA -DNO_DSA'
EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS=''
PASSWDTYPE=std SPECIALAUTHENTICATORS='ssl' `cat SPECIALS` OS=lnx \
 SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \
 SPOOLDIR=/var/spool \
 ACTIVEFILE=/var/lib/news/active \
 RSHPATH=/usr/bin/rsh \
 BASECFLAGS="-g -fno-omit-frame-pointer -O6" \
 BASELDFLAGS="-lpam -ldl"
sh -c 'rm -rf auths.c crexcl.c flockbsd.c linkage.[ch] siglocal.c
osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo gcc > CCTYPE
echo -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
 -DMAILSPOOL=\"/var/spool/mail\" \
 -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \
 -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo -lpam -ldl  > LDFLAGS
echo "ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.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;ranlib c-client.a" > ARCHIVE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile
dummy
./mkauths  md5 ssl log
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
echo -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRECTORY=\"/usr/local/ssl/certs\" >> OSCFLAGS
echo -L/usr/local/ssl/lib -lssl -lcrypto  `cat LDFLAGS` > LDFLAGS.tmp
mv LDFLAGS.tmp LDFLAGS
echo "void ssl_onceonlyinit (void);" >> linkage.h
echo "extern int ssl_getchar (void);" >> linkage.h
echo "extern char *ssl_gets (char *s,int n);" >> linkage.h
echo "extern int ssl_putchar (int c);" >> linkage.h
echo "extern int ssl_puts (char *s);" >> linkage.h
echo "extern int ssl_flush (void);" >> linkage.h
echo "extern char *ssl_start_tls (char *s);" >> linkage.h
echo "#undef PBIN" >> linkage.h
echo "#define PBIN ssl_getchar" >> linkage.h
echo "#undef PSIN" >> linkage.h
echo "#define PSIN(s,n) ssl_gets (s,n)" >> linkage.h
echo "#undef PBOUT" >> linkage.h
echo "#define PBOUT(c) ssl_putchar (c)" >> linkage.h
echo "#undef PSOUT" >> linkage.h
echo "#define PSOUT(s) ssl_puts (s)" >> linkage.h
echo "#undef PFLUSH" >> linkage.h
echo "#define PFLUSH ssl_flush ()" >> linkage.h
echo '#define IMAPSPECIALCAP "STARTTLS"' >> linkage.h
echo '#define POP3SPECIALCAP "STLS"' >> linkage.h
echo "#define SPECIALCAP(s) ssl_start_tls (s)" >> linkage.h
echo "  ssl_onceonlyinit ();" >> linkage.c
ln -s os_lnx.h osdep.h
ln -s os_lnx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco)
&& ln -s flocksun.c flockbsd.c || ln -s flocksv4.c flockbsd.c'
ln -s ckp_pam.c osdepckp.c
cat osdepbas.c osdepckp.c osdeplog.c > osdep.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mail.o mail.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o misc.o misc.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o newsrc.o newsrc.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o smanager.o smanager.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA `cat OSCFLAGS` -c osdep.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o utf8.o utf8.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o siglocal.o siglocal.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o dummy.o dummy.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o pseudo.o pseudo.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o netmsg.o netmsg.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o flstring.o flstring.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o fdstring.o fdstring.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o rfc822.o rfc822.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o nntp.o nntp.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o smtp.o smtp.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o imap4r1.o imap4r1.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o pop3.o pop3.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o unix.o unix.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mbox.o mbox.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mbx.o mbx.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mmdf.o mmdf.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o tenex.o tenex.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mtx.o mtx.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o news.o news.c
news.c: In function `news_open':
news.c:338: warning: passing arg 3 of `scandir' from incompatible
pointer type
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o phile.o phile.c
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mh.o mh.c
mh.c: In function `mh_ping':
mh.c:636: warning: passing arg 3 of `scandir' from incompatible pointer
type
mh.c: In function `mh_append':
mh.c:893: warning: passing arg 3 of `scandir' from incompatible pointer
type
gcc -g -fno-omit-frame-pointer -O6 -I/usr/include/openssl -DNO_IDEA
-DNO_DSA   -c -o mx.o mx.c
mx.c: In function `mx_ping':
mx.c:575: warning: passing arg 3 of `scandir' from incompatible pointer
type
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.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;ranlib c-client.a
grep -v ssl_onceonlyinit linkage.c > linkage_no_ssl.c
make[2]: Leaving directory
`/usr/src/redhat/BUILD/mahogany-0.64/extra/src/c-client'
set -e; for i in src/compface; do make -C $i; done
make[2]: Entering directory
`/usr/src/redhat/BUILD/mahogany-0.64/extra/src/compface'
gcc -o arith.o -c -fPIC -O2 -march=i586 -O2 -Wall -MMD -O2 -march=i586
-O2 -Wall -MMD arith.c
gcc -o file.o -c -fPIC -O2 -march=i586 -O2 -Wall -MMD -O2 -march=i586
-O2 -Wall -MMD file.c
file.c: In function `ReadFace':
file.c:75: warning: implicit declaration of function `strlen'
gcc -o compress.o -c -fPIC -O2 -march=i586 -O2 -Wall -MMD -O2
-march=i586 -O2 -Wall -MMD compress.c
gcc -o gen.o -c -fPIC -O2 -march=i586 -O2 -Wall -MMD -O2 -march=i586 -O2
-Wall -MMD gen.c
gcc -o uncompface.o -c -fPIC -O2 -march=i586 -O2 -Wall -MMD -O2
-march=i586 -O2 -Wall -MMD uncompface.c
gcc -o compface.o -c -fPIC -O2 -march=i586 -O2 -Wall -MMD -O2
-march=i586 -O2 -Wall -MMD compface.c
ar rc libMcompface.a arith.o file.o compress.o gen.o uncompface.o
compface.o
ranlib libMcompface.a
make[2]: Leaving directory
`/usr/src/redhat/BUILD/mahogany-0.64/extra/src/compface'
make[1]: Leaving directory `/usr/src/redhat/BUILD/mahogany-0.64/extra'
make[1]: Entering directory `/usr/src/redhat/BUILD/mahogany-0.64/src'
c++ -o adb/AdbDialogs.o -c -fPIC
-I/usr/src/redhat/BUILD/mahogany-0.64/include
-I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/src/redhat/BUILD/mahogany-0.64/extra/include
-I/usr/src/redhat/BUILD/mahogany-0.64/extra/src/c-client
-I/usr/src/redhat/BUILD/mahogany-0.64/extra/src/compface
-I/usr/src/redhat/BUILD/mahogany-0.64/src/wx/vcard -fno-operator-names
-O2 -MD -Wall adb/AdbDialogs.cpp
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                 from
/usr/src/redhat/BUILD/mahogany-0.64/include/Mconfig.h:148,
                 from
/usr/src/redhat/BUILD/mahogany-0.64/include/Mpch.h:14,
                 from adb/AdbDialogs.cpp:21:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from
/usr/src/redhat/BUILD/mahogany-0.64/include/ASMailFolder.h:30,
                 from
/usr/src/redhat/BUILD/mahogany-0.64/include/MEvent.h:94,
                 from
/usr/src/redhat/BUILD/mahogany-0.64/include/MApplication.h:32,
                 from adb/AdbDialogs.cpp:25:
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h: In member
function 
   `int UIdArray::Index(long unsigned int, bool) const':
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h:71: invalid
conversion 
   from `_wxArrayUIdArray' to `const void*'
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h:71:  
initializing 
   argument 1 of `int wxBaseArrayPtrVoid::Index(const void*, bool)
const'
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h: In member
function 
   `void UIdArray::Add(long unsigned int, unsigned int)':
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h:71: invalid
conversion 
   from `_wxArrayUIdArray' to `const void*'
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h:71:  
initializing 
   argument 1 of `void wxBaseArrayPtrVoid::Add(const void*, unsigned
int)'
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h: In member
function 
   `void UIdArray::Insert(long unsigned int, unsigned int, unsigned
int)':
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h:71: invalid
conversion 
   from `_wxArrayUIdArray' to `const void*'
/usr/src/redhat/BUILD/mahogany-0.64/include/MailFolder.h:71:  
initializing 
   argument 1 of `void wxBaseArrayPtrVoid::Insert(const void*, unsigned
int, 
   unsigned int)'
make[1]: *** [adb/AdbDialogs.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mahogany-0.64/src'
make: *** [quartstatic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.76510 (%build)


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to