On Thu, 8 Jan 2004 16:20:35 +0100 (Romance Standard Time) Vadim Zeitlin <[EMAIL 
PROTECTED]> wrote:

>  could someone please help with preparing the RPMs for 0.66 release? I
> still don't have any recent RH (I've only got access to 7.3...) and I guess
> the most popular/needed ones right now would be the RPMs for RH9, right? Or
> should we already make them for Fedora?
> 
>  Anyhow, nothing prevents us from having several of them -- provided that
> someone could build them :-)

I'd be glad to contribute for RedHat 8.0, but I'm not able to build
right now.  Here are the commands I'm using.  tlog.sh just routes
stdout and stderr to a log file.

=======
# Mahogany
# Where things are and versions
wx=~/projects/wxWindows/gtk-static
mahog=~/projects/Mahogany
rr=~/projects/rpm_root
ver=0.66
rel=macst.$(date '+%Y%m%d')

# First make a static version of wxGTK ready for including in the RPM
cd $wx
rm -rf .deps *
tlog.sh ../wxWindows/configure --disable-shared --disable-threads \
 --disable-joystick --without-expat
# I also tried a run with --with-python
tlog.sh make

# Create Mahogany source archive and .spec file
# I renamed the base directory mahogany-0.66 so $ver is correct
cd $mahog
tar cfj $rr/SOURCES/mahogany-$ver.tar.bz2 --exclude=CVS \
   --exclude=.cvsignore mahogany-$ver
sed -e "s/^\(%define VERSION\) .*/\1 $ver/" \
    -e "s/^\(%define RELEASE\) .*/\1 $rel/" \
   mahogany-$ver/redhat/M.spec > $rr/SPECS/M-$ver-$rel.spec

# Build Mahogany RPM using static wxGTK
cd $rr
export CONFIG_FLAGS="--with-wxdir=$wx --with-modules=static"
# I also tried a run with --with-python
tlog.sh rpmbuild -ba SPECS/M-$ver-$rel.spec
=======

The build ends with the following errors regardless of the combination
of --with-python I use.  Looking at the configure log, it appears to be
trying to find Python.h which it does find in /usr/include/python2.2/
and libpython2.2.a which it does not find, but is in
/usr/lib/python2.2/config/.  I have python and python-devel 2.2.3-3
installed using RPMs from RawHide 1.0.

=======
c++ -o M  adb/AdbDialogs.o adb/AdbEntry.o adb/AdbExport.o adb/AdbFrame.o 
adb/AdbImport.o adb/AdbManager.o adb/AdbModule.o adb/AdbProvider.o adb/Collect.o 
adb/ProvBbdb.o adb/ProvFC.o adb/ProvLine.o adb/ProvPalm.o adb/ProvPasswd.o 
classes/CacheFile.o classes/ComposeTemplate.o classes/ConfigSource.o 
classes/FolderMonitor.o classes/FolderView.o classes/kbList.o classes/ListReceiver.o 
classes/MApplication.o classes/MessageTemplate.o classes/MessageView.o 
classes/MEvent.o classes/MFilter.o classes/MFolder.o classes/MModule.o 
classes/MObject.o classes/Moptions.o classes/Mpers.o classes/PathFinder.o 
classes/PGPClickInfo.o classes/Profile.o classes/Sequence.o classes/XFace.o 
gui/ClickAtt.o gui/ClickURL.o gui/Mdnd.o gui/MImport.o gui/wxAttachDialog.o 
gui/wxBrowseButton.o gui/wxColumnsDlg.o gui/wxComposeView.o gui/wxDialogLayout.o 
gui/wxFiltersDialog.o gui/wxFolderMenu.o gui/wxFolderTree.o gui/wxFolderView.o 
gui/wxHeadersDialogs.o gui/wxIconManager.o gui/wxllist.o gui/wxlparser.o 
gui/wxlwindow.o gui/wxMainFrame.o gui/wxMApp.o gui/wxMDialogs.o gui/wxMenuDefs.o 
gui/wxMessageView.o gui/wxMFolderDialogs.o gui/wxMFrame.o gui/wxModulesDlg.o 
gui/wxMsgCmdProc.o gui/wxOptionsDlg.o gui/wxRenameDialog.o gui/wxSearchDialog.o 
gui/wxSortDialog.o gui/wxSpamOptions.o gui/wxSubfoldersDialog.o gui/wxTemplateDialog.o 
gui/wxTextDialog.o gui/wxThrDialog.o gui/wxWizards.o mail/AddressCC.o mail/Address.o 
mail/ASMailFolder.o mail/HeaderInfoImpl.o mail/HeaderIterator.o mail/LogCircle.o 
mail/MailFolderCC.o mail/MailFolderCmn.o mail/MailFolder.o mail/MailMH.o 
mail/MessageCC.o mail/Message.o mail/MFCache.o mail/MFDriver.o mail/MFPool.o 
mail/MFui.o mail/MimePartCC.o mail/Pop3.o mail/SendMessageCC.o mail/Sorting.o 
mail/Threading.o mail/ThreadJWZ.o mail/VFolder.o mail/VMessage.o  Python/InitPython.o 
Python/PythonHelp.o Python/PythonDll.o util/matchurl.o util/miscutil.o util/ssl.o 
util/strutil.o util/sysutil.o util/upgrade.o util/twofish2.o wx/common/vcard.o 
wx/generic/persctrl.o wx/generic/vcarddlg.o wx/vcard/vcc.o wx/vcard/vobject.o   
adb/ImportMailrc.o adb/ImportPine.o adb/ImportText.o adb/ImportVCard.o 
adb/ImportXFMail.o adb/ExportPalm.o adb/ExportText.o adb/ExportVCard.o 
modules/crypt/PGPEngine.o modules/viewflt/PGP.o modules/viewflt/QuoteURL.o 
modules/viewflt/Rot13.o modules/viewflt/Signature.o modules/viewflt/TextMarkup.o 
modules/viewflt/Trailer.o modules/BareBonesEditor.o modules/Filters.o 
modules/HtmlViewer.o modules/LayoutEditor.o modules/LayoutViewer.o modules/Mdummy.o 
modules/Migrate.o modules/NetscapeImporter.o modules/PineImport.o modules/TextViewer.o 
modules/XFMailImport.o  -L/home/mchase/projects/wxWindows/gtk-static/lib 
/home/mchase/projects/wxWindows/gtk-static/lib/libwx_gtk_html-2.5.a 
/home/mchase/projects/wxWindows/gtk-static/lib/libwx_gtk_adv-2.5.a 
/home/mchase/projects/wxWindows/gtk-static/lib/libwx_gtk_core-2.5.a 
/home/mchase/projects/wxWindows/gtk-static/lib/libwx_base_net-2.5.a 
/home/mchase/projects/wxWindows/gtk-static/lib/libwx_base-2.5.a -L/usr/lib 
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 
-lpng -ljpeg -ltiff -lz -ldl -lm  
/home/mchase/projects/rpm_root/BUILD/mahogany-0.66/extra/src/c-client/c-client.a 
-lresolv -lcrypt -ldl  
-L/home/mchase/projects/rpm_root/BUILD/mahogany-0.66/extra/src/compface -lMcompface 
-lutil -L/usr/lib/python2.2/config -lpython2.2   -lpam 
/home/mchase/projects/rpm_root/BUILD/mahogany-0.66/extra/src/c-client/c-client.a(osdep.o)(.text+0x86d8):
 In function `ssl_server_init':
/home/mchase/projects/rpm_root/BUILD/mahogany-0.66/extra/src/c-client/osdep.c:287: 
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x37c9): In function 
`posix_tmpnam':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x36b9): In function 
`posix_tempnam':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Python/InitPython.o(.text+0x519): In function `InitPython()':
: undefined reference to `init_HeaderInfo'
Python/InitPython.o(.text+0x51e): In function `InitPython()':
: undefined reference to `init_MDialogs'
Python/InitPython.o(.text+0x523): In function `InitPython()':
: undefined reference to `init_MailFolder'
Python/InitPython.o(.text+0x528): In function `InitPython()':
: undefined reference to `init_MimePart'
Python/InitPython.o(.text+0x52d): In function `InitPython()':
: undefined reference to `init_Message'
Python/InitPython.o(.text+0x532): In function `InitPython()':
: undefined reference to `init_SendMessage'
Python/PythonHelp.o(.text+0x37f): In function `PythonFunction(char const*, void*, char 
const*, char const*, void*)':
: undefined reference to `SWIG_TypeQuery'
Python/PythonHelp.o(.text+0x38d): In function `PythonFunction(char const*, void*, char 
const*, char const*, void*)':
: undefined reference to `SWIG_NewPointerObj'
/usr/lib/python2.2/config/libpython2.2.a(thread.o)(.text+0xb3): In function 
`PyThread_start_new_thread':
: undefined reference to `pthread_sigmask'
/usr/lib/python2.2/config/libpython2.2.a(thread.o)(.text+0xd9): In function 
`PyThread_start_new_thread':
: undefined reference to `pthread_create'
/usr/lib/python2.2/config/libpython2.2.a(thread.o)(.text+0xf3): In function 
`PyThread_start_new_thread':
: undefined reference to `pthread_sigmask'
/usr/lib/python2.2/config/libpython2.2.a(thread.o)(.text+0x118): In function 
`PyThread_start_new_thread':
: undefined reference to `pthread_detach'
collect2: ld returned 1 exit status
make[1]: *** [quartstatic] Error 1
make[1]: Leaving directory `/home/mchase/projects/rpm_root/BUILD/mahogany-0.66/src'
make: *** [quartstatic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.34352 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.34352 (%build)
=======

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to