RE: [courier-users] Courier 20051212

This is a discussion on RE: [courier-users] Courier 20051212 within the Courier-Imap forums, part of the Mail Servers and Related category; Jeff wrote: >Egbert Jan wrote: >> I'm still trying to build the RPMs for Courier (latest snapshot) ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-22-2005
Egbert Jan
 
Posts: n/a
Default RE: [courier-users] Courier 20051212

Jeff wrote:
>Egbert Jan wrote:
>> I'm still trying to build the RPMs for Courier (latest snapshot) but=20
>> cannot find 'netpbm-progs'. I know it is needed for the fax stuff=20
>> which I don't want anyway. How do I tell rpmbuild to to use=20
>> ''without-fax'??? Should I do rpmbuild in several steps (-ta, then =

use=20
>> b... ) with editing config or spec files in between the steps?

>
>Either build the rpm using the "--without fax" switch or edit the spec

file, comment out the lines at the top that say
>
>%{?_without_fax: %define with_fax 0}
>%{!?_without_fax: %define with_fax 1}
>
>and add a line that says
>
>%define with_fax 0
>
>Then rebuild the rpms.
>
>Jeff Jansen


Thanks Jeff. Did that and now start doing something but errors-out while
stepping into the 'afx' directory.
I used 'rpmbuild -bp courier.spec' (tarball in rpm/SOURCES, spec file in
rpm/SPECS).
....
configure: configuring in afx
configure: running /bin/sh './configure' --prefix=3D/usr/lib/courier
'--host=3Di586-mandriva-linux-gnu' '--build=3Di586-mandriva-linux-gnu'
'--target=3Di586-mandriva-linux-gnu' '--program-prefix=3D'
'--prefix=3D/usr/lib/courier' '--exec-prefix=3D/usr/lib/courier'
'--bindir=3D/usr/lib/courier/bin' '--sbindir=3D/usr/lib/courier/sbin'
'--sysconfdir=3D/etc/courier' '--datadir=3D/usr/lib/courier/share'
'--includedir=3D/usr/lib/courier/include' =
'--libdir=3D/usr/lib/courier/lib'
'--libexecdir=3D/usr/lib/courier/lib' =
'--localstatedir=3D/var/spool/courier'
'--sharedstatedir=3D/usr/lib/courier/com' '--mandir=3D/usr/share/man'
'--infodir=3D/usr/share/info' '--cache-file=3Dcourier.config.cache'
'--enable-unicode=3Diso-8859-1,utf-8' 'CFLAGS=3D-O2 -pipe
-Wp,-D_FORTIFY_SOURCE=3D2 -fomit-frame-pointer -march=3Di586 =
-mtune=3Dpentiumpro'
'CXXFLAGS=3D-O2 -pipe -Wp,-D_FORTIFY_SOURCE=3D2 -fomit-frame-pointer =
-march=3Di586
-mtune=3Dpentiumpro' 'FFLAGS=3D-O2 -pipe -Wp,-D_FORTIFY_SOURCE=3D2
-fomit-frame-pointer -march=3Di586 -mtune=3Dpentiumpro'
'build_alias=3Di586-mandriva-linux-gnu' =
'host_alias=3Di586-mandriva-linux-gnu'
'target_alias=3Di586-mandriva-linux-gnu'
--with-makedatprog=3D/usr/lib/courier/lib/courier/makedatprog
--with-piddir=3D/var/spool/courier/tmp --with-package=3Dcourier
--with-version=3D0.52.1.20051212 =
--with-courierlogger=3D/usr/sbin/courierlogger
--with-db=3Dgdbm --with-mailuser=3Ddaemon --with-mailgroup=3Ddaemon
--with-mailuid=3D2 --with-mailgid=3D2 --enable-trusted-groups=3D'daemon'
--with-formdata --enable-utf7-folder-encoding
--with-webadmindir=3D/usr/lib/courier/share/courierwebadmin
--cache-file=3D../courier.config.cache --srcdir=3D.
configure: loading cache ../courier.config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: -O2 -pipe -Wp,-D_FORTIFY_SOURCE=3D2
-fomit-frame-pointer -march=3Di586 -mtune=3Dpentiumpro
configure: current value: -O2 -pipe -Wp,-D_FORTIFY_SOURCE=3D2
-fomit-frame-pointer -march=3Di586 -mtune=3Dpentiumpro
configure: error: `CXXFLAGS' has changed since the previous run:
configure: former value: -O2 -pipe -Wp,-D_FORTIFY_SOURCE=3D2
-fomit-frame-pointer -march=3Di586 -mtune=3Dpentiumpro
configure: current value: -O2 -pipe -Wp,-D_FORTIFY_SOURCE=3D2
-fomit-frame-pointer -march=3Di586 -mtune=3Dpentiumpro
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm =
.../courier.config.cache'
and start over
configure: error: /bin/sh './configure' failed for afx
error: Bad exit status from /var/tmp/rpm-tmp.94293 (%prep)


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


WHY? The CFLAGS and CXXFLAGS are the same except for the exta spaces =
around
the 'O2'.

Why mtun=3Dpentiumpro?=20
I would like to control the --with-mailuser=3Ddaemon =
--with-mailgroup=3Ddaemon
--with-mailuid=3D2 --with-mailgid=3D2 --enable-trusted-groups=3D'daemon' =
options
myself. Where should I do that?=20

TIA
Egbert Jan



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0