Re: Compiling from CVS-HEAD on Ubuntu Intrepid
Sam Varshavchik <[email protected]> Fri, 28 Nov 2008 18:29:38 -0500
| Newsgroups | gmane.mail.cone |
|---|---|
| Message-ID | <[email protected]> |
Bob Vincent writes:
> 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
Thanks -- I tweaked the Makefile so that it should find the stylesheet
directory automatically, as long as the default XML catalog is set
accordingly.
>
> 2. Copy the missing curses_config.h.in from a tarball download:
>
> cp cone-0.77/curses/curses_config.h.in cone/curses/
Fixed this too -- curses_config.h.in should now get created automatically by
running autobloat.
> 3. Make sure CHARSET is set to either us-ascii (for non-unicode build) or
> utf-8 (for unicode build):
>
> export CHARSET=utf-8
Not sure why this makes a difference. The top level Makefile should
automatically add --enable-unicode unconditionally, which enables all the
Unicode stuff.
> 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
This was due to a change introduced in more recent versions of autoconf,
that you rebuilt against.
I tweaked the configure script, so that it will now work correctly with your
autoconf.
> 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
That shouldn't be necessary. Just add the path to sensible-browser to the
for loop, in the default http.handler script.
-------------------------------------------------------------------------
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
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkkwfuIACgkQx9p3GYHlUOJxFACfd8VPQMrph+Ui3iS2HrPHtBtC imEAnRWGCZMMAZtF4z/PrE1kcP9Dpn9M =yRxZ -----END PGP SIGNATURE-----