← Back to team overview

cuneiform team mailing list archive

[Bug 483950] Re: Seg fault on Mac OS 10.6.2

 

I'm not sure I did enough, but I put -arch i386 in the following places
in CMakeCache.txt. It was indicated by this:
http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/64bitPorting/building/building.html

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=-arch i386

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=-arch i386

However, http://boomswaggerboom.wordpress.com/2009/08/27/building-32
-bit-firefox-on-mac-os-x-10-6/ seems to imply there needs to be more of
a crossbuild. Maybe that is specific to that project.

Anyway, I still get the seg fault. Do you want to see the backtrace?

Also, the linux build I tested on above is a 32 bit Ubuntu 9.04 machine
and it is also seg faulting.

-- 
Seg fault on Mac OS 10.6.2
https://bugs.launchpad.net/bugs/483950
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.

Status in Linux port of Cuneiform: New

Bug description:
Hi, cuneiform builds nicely on Mac OS, but on running it with the basic command line
cuneiform -o 0001.txt 0001.jpg
for an image with English text fails with only the error Segmentation fault.
I could try attaching an image, but it does the same thing with various image formats, tiff, jpg, and the included test bmp's.
I built with a debug build type, but I still don't get any more information. Let me know if there is anything I can do to provide more information.


Also a small separate note. On Debian and Debian derived Linux distributions, the needed ImageMagick libraries are in a separate package from ImageMagick. It would be good to note in the readme that libmagick++-dev needs to be installed as well.



References