On Tue, 8 Aug 2006 07:55 am, Vadim Zeitlin wrote:
> On Mon, 7 Aug 2006 13:07:48 +1000 Doug Laidlaw <[EMAIL PROTECTED]>
> wrote:
>
> DL> Trying to compile Mahogany 0.6.7 on Mandriva 2006, I get the following
> DL> errors:
> DL>
> DL> Configure cannot find sqlite.h even though my heeaders are in
> /usr/include, DL> and even if I set the --INCLUDEDIR variable.
>
> Do you get this error during configure process or during make itself? If
> during configure, please check ocnfig.log: it contains a lot of information
> but by searching for "sqlite.h" you should be able to find the relevant
> bits.
>
It happens during configure, but config.log merely has "checking for this,
checking for that." No results. The terminal simply says that I won't be
able to use dspam, which is O.K. The actual line is:
configure:4918: checking for sqlite.h
> DL> All then runs smoothly until "make install", when I get the following
> errors: DL>
> DL> classes/MessageView.cpp: In member function 'bool
> DL> MessageView::StoreMIMEPartData(const MimePart*, const String&)':
> DL> classes/MessageView.cpp:2476: error: 'const class wxString' has no
> member DL> named 'rbegin'
> DL>
> DL> I am using wxwindows 2.6.1 (the ./configure script is still happy with
> 2.5.2)
>
> Oops, sorry about this. This method (rbegin) only exists in wxWindows
> 2.7.0 in fact. Please replace rbegin() in the line 2476 above with Last()
> and it should be ok.
>
With that change I get the following during ./configure:
c++ -o classes/MessageView.o -c -I/home/doug/mahogany-0.67/include
-I/usr/include/python2.4 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5
-I/usr/lib/wx/include/ -I/usr/lib/wx/include/gtk2-ansi-release-2.6
-I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
-I/home/doug/mahogany-0.67/lib/imap/c-client
-I/home/doug/mahogany-0.67/lib/compface
-I/home/doug/mahogany-0.67/src/wx/vcard -fno-exceptions -fno-rtti
-fno-operator-names -I/usr/lib/wx/include/
-I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2 -MMD -Wall classes/MessageView.cpp
classes/MessageView.cpp: In member function 'bool
MessageView::StoreMIMEPartData(const MimePart*, const String&)':
classes/MessageView.cpp:2476: error: invalid type argument of 'unary *'
make[1]: *** [classes/MessageView.o] Error 1
The line as it stands at the moment is:
// cid could be quoted with <...>, unquote it then as it's referenced
// without the quotes in the other parts
CHECK( !cidOrig.empty(), false, "empty CID not allowed" );
String cid;
if ( *cidOrig.begin() == '<' && *cidOrig.Last() == '>' )
cid.assign(cidOrig, 1, cidOrig.length() - 2);
else
cid = cidOrig;
The reason I mentioned the version is that from memory, I need >2.6.0,
but ./configure will accept an earlier version.
> DL> I couldn't use the Redhat spec file, but rpmbuild ran until the same
> DL> errors popped up.
>
> I don't use any RedHat-like systems myself currently so I can't test rpm
> build but if you're interested in making it work, please show me the errors
> and we could try fixing them.
No, don't worry. I have saime literature somewhere on building one. RPMs for
Fedora are the usual offering if you want to do it some time.
>
Doug.
--
Life is either a daring adventure, or nothing.
- Helen Keller
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-users