Compiling from CVS-HEAD on Ubuntu Intrepid

Bob Vincent <[email protected]> Fri, 28 Nov 2008 11:27:41 -0500
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
Re-posting from Thunderbird I didn't see my original post on the mailing 
list.

Getting this package to compile and run required some non-obvious (to 
me) steps.

1. Make sure that sgml stylesheets exist in the exact paths expected by
courier sources:

ln -s /usr/share/xml/docbook/stylesheet/nwalsh 
/usr/share/sgml/docbook/xsl-stylesheets

2. Copy the missing curses_config.h.in from a tarball download:

cp cone-0.77/curses/curses_config.h.in cone/curses/

3. Make sure CHARSET is set to either us-ascii (for non-unicode build) or
utf-8 (for unicode build):

export CHARSET=utf-8

I'm sure there is a debian-standard way to set the CHARSET,
but I haven't found it yet.

4. My SMTP server uses port 587 rather than port 25, so in my Setup I
set my Outgoing SMTP Server to "mail.pillars.net:587" rather than just
"mail.pillars.net".

5. After compiling with "--prefix=/usr" I found that when trying to launch
an external browser, Cone was literally trying to open the path
"${prefix}/share/cone/http.handler".  After compiling with all possible
configuration paths set (--prefix, --bindir, --sbindir, --libexecdir, etc),
cone correctly tried to launch /usr/share/cone/http.handler but the default
script didn't work for my installation.  Fortunately, Debian/Ubuntu 
provides
/usr/bin/sensible-browser for just such a situation, so I moved the default
script out of the way and substituted a symlink to the Debian script.

mv /usr/share/cone/http.handler /usr/share/cone/http.handler.distrib
mv /usr/share/cone/https.handler /usr/share/cone/https.handler.distrib
ln -s /usr/bin/sensible-browser /usr/share/cone/http.handler
ln -s /usr/bin/sensible-browser /usr/share/cone/https.handler

I hope this helps someone.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone