
Hi, Ivan,
That libstdc++ problem is related to the following ticket:
http://hackage.haskell.org/trac/ghc/ticket/5289
A workaround is to make a symbolic link to libstdc++.so.6 with the
name of libstdc++.so in /usr/lib or /usr/local/lib or other dynamic
library path like the following.
ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so
Hopefully, it can solve the problem.
IW
On Mon, Dec 12, 2011 at 10:17 AM, Ivan Perez
This is what I get when using the latest Ubuntu. libstdc++ is installed.
Downloading hxournal-0.5.0.0... Configuring hxournal-0.5.0.0... Preprocessing library hxournal-0.5.0.0... Preprocessing executables for hxournal-0.5.0.0... Building hxournal-0.5.0.0... [ 1 of 41] Compiling Paths_hxournal ( dist/build/autogen/Paths_hxournal.hs, dist/build/Paths_hxournal.o ) [ 2 of 41] Compiling Application.HXournal.Util.Verbatim ( lib/Application/HXournal/Util/Verbatim.hs, dist/build/Application/HXournal/Util/Verbatim.o ) [ 3 of 41] Compiling Application.HXournal.Util ( lib/Application/HXournal/Util.hs, dist/build/Application/HXournal/Util.o ) [ 4 of 41] Compiling Application.HXournal.ModelAction.Eraser ( lib/Application/HXournal/ModelAction/Eraser.hs, dist/build/Application/HXournal/ModelAction/Eraser.o ) [ 5 of 41] Compiling Application.HXournal.ModelAction.Adjustment ( lib/Application/HXournal/ModelAction/Adjustment.hs, dist/build/Application/HXournal/ModelAction/Adjustment.o ) [ 6 of 41] Compiling Application.HXournal.Type.Clipboard ( lib/Application/HXournal/Type/Clipboard.hs, dist/build/Application/HXournal/Type/Clipboard.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package bytestring-0.9.1.10 ... linking ... done. Loading package array-0.3.0.2 ... linking ... done. Loading package transformers-0.2.2.0 ... linking ... done. Loading package mtl-2.0.1.0 ... linking ... done. Loading package cairo-0.12.2 ... linking ... done. Loading package containers-0.4.0.0 ... linking ... done. Loading package strict-0.3.2 ... linking ... done. Loading package deepseq-1.1.0.2 ... linking ... done. Loading package attoparsec-0.9.1.2 ... linking ... done. Loading package ListLike-3.1.2 ... linking ... done. Loading package extensible-exceptions-0.1.1.2 ... linking ... done. Loading package MonadCatchIO-transformers-0.2.2.3 ... linking ... done. Loading package parallel-3.1.0.1 ... linking ... done. Loading package unix-2.4.2.0 ... linking ... done. Loading package iteratee-0.8.7.4 ... linking ... done. Loading package attoparsec-iteratee-0.3.0 ... linking ... done. Loading package text-0.11.1.9 ... linking ... done. Loading package enumerator-0.4.16 ... linking ... done. Loading package iteratee-compress-0.2.1.0 ... linking ... done. Loading package attoparsec-text-0.8.5.2 ... linking ... done. Loading package attoparsec-text-enumerator-0.2.0.0 ... linking ... done. Loading package blaze-builder-0.3.0.2 ... linking ... done. Loading package blaze-builder-enumerator-0.2.0.3 ... linking ... done. Loading package failure-0.1.0.1 ... linking ... done. Loading package xml-types-0.3 ... linking ... done. Loading package xml-enumerator-0.3.4 ... linking ... done. Loading package xournal-parser-0.2 ... linking ... done. Loading package xournal-render-0.2.0.0 ... linking ... done. Loading package contravariant-0.1.3 ... linking ... done. Loading package old-locale-1.0.0.2 ... linking ... done. Loading package time-1.2.0.3 ... linking ... done. Loading package random-1.0.0.3 ... linking ... done. Loading package pretty-1.0.1.2 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package QuickCheck-2.4.1.1 ... linking ... done. Loading package incremental-parser-0.1 ... linking ... done. Loading package monad-parallel-0.7 ... linking ... done. Loading package monad-coroutine-0.7 ... linking ... done. Loading package glib-0.12.2 ... linking ... done. Loading package gio-0.12.2 ... linking ... done. Loading package filepath-1.2.0.0 ... linking ... done. Loading package old-time-1.0.0.6 ... linking ... done. Loading package directory-1.1.0.0 ... linking ... done. Loading package process-1.0.1.5 ... linking ... done. Loading package pango-0.12.2 ... linking ... done. Loading package gtk-0.12.2 ... linking ... done. Loading package fclabels-1.0.4 ... linking ... done. Loading package double-conversion-0.2.0.3 ... <command line>: can't load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No such file or directory) cabal: Error: some packages failed to install: hxournal-0.5.0.0 failed during the building phase. The exception was: ExitFailure 1
On 12 December 2011 12:56, Ian-Woo Kim
wrote: Hi, everyone,
I am very pleased to announce a pen notetaking program: hxournal, which is written entirely in haskell using gtk2hs.
I uploaded the package on hackage. This program accompanies with two library packages, xournal-parser and xournal-render for parsing and rendering xournal format file.
http://hackage.haskell.org/package/hxournal http://hackage.haskell.org/package/xournal-parser http://hackage.haskell.org/package/xournal-render
Installing hxournal should be very simple:
cabal update cabal install hxournal
hxournal can be currently regarded as a clone of xournal, which is a notetaking program developed in C. (See http://xournal.sourceforge.net)
As xournal, hxournal can take wacom tablet X11 input in subpixel unit so that it can result in very smooth notetaking experience.
Currently, basic pen operations and eraser operations, file open/save operations, rectangular selection, cut/copy/paste operations have been implemented. So the application is semi-usable. The file format is the same as xournal but gunzipped. So to view/edit xoj files generated from xournal, just gunzip the xoj files and read them in hxournal. Gunzipped xoj files generated from hxournal are readable in xournal program.
One NEW special feature of hxournal compared with xournal: This program can make a split view (horizontal and vertical and arbitrary combination of them) of the same document similarly to emacs buffers and windows. Please try Horizontal/Vertical Split in View menu of the program. This will be convenient when notetaking a long document.
The git repository is located at https://www.github.com/wavewave/hxournal The program web page and development web/wiki pages will be announced soon (it will be linked from package webpage on hackage anyway) and the detailed manual will be presented there.
Thank you for your interest. Enjoy haskell notetaking!
Ian-Woo Kim
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe