ocrad 0.15 won't build (Panther)
I'm using OS X 10.3.9, gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666) I was unable to get ocrad built with ports - when I downloaded the next version (0.16) directly GNU-land, it built without any complaints. root# port install ocrad ---> Fetching ocrad ---> Attempting to fetch ocrad-0.15.tar.bz2 from ftp://ftp.gnu.org/gnu/ocrad ---> Verifying checksum(s) for ocrad ---> Extracting ocrad ---> Configuring ocrad ---> Building ocrad with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_ocrad/work/ocrad-0.15" && make all" returned error 2 Command output: g++ -Wall -W -O2 -c -o common.o common.cc g++ -Wall -W -O2 -c -o rational.o rational.cc rational.cc: In member function `const char* Rational::to_decimal(int, int) const': rational.cc:212: error: `snprintf' undeclared in namespace `std' make: *** [rational.o] Error 1
On Feb 3, 2007, at 10:42, Ed Ravin wrote:
I'm using OS X 10.3.9, gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
I was unable to get ocrad built with ports - when I downloaded the next version (0.16) directly GNU-land, it built without any complaints.
It looks like the maintainer has updated the ocrad port to 0.16 today, so you may want to try again.
On Sat, Feb 03, 2007 at 04:52:26PM -0600, Ryan Schmidt wrote:
On Feb 3, 2007, at 10:42, Ed Ravin wrote:
I'm using OS X 10.3.9, gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
I was unable to get ocrad built with ports - when I downloaded the next version (0.16) directly GNU-land, it built without any complaints.
It looks like the maintainer has updated the ocrad port to 0.16 today, so you may want to try again.
Yes, it built without complaints. Unfortunately, the application I was going to use it for also involved xpdf, which is getting stuck on openmotif, and that one doesn't look like it's going to be so easy to fix...
participants (2)
-
Ed Ravin
-
Ryan Schmidt