Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#10806 closed defect (worksforme)

Compilation libofx-0.8.2 failed

Reported by: gerald.niel@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: markd@…
Port:

Description

Compilation of libofx-0.8.2 failed at configure :

checking for ParserEventGeneratorKit.h... yes checking for SGMLApplication.h... yes checking for EventGenerator.h... yes checking for libosp... no configure: error: unable to link a test program, is OpenSP installed?

Change History (9)

comment:1 Changed 18 years ago by markd@…

I can't build openjade on Intel and that is a dependency of libofx. Did openjade install for you?

comment:2 Changed 18 years ago by gerald.niel@…

Yes openjade is installed : $ port installed | grep openjade

openjade @1.3.2_1 (active)

And libofx 0.8.0 to. There is a problem with 0.8.2 only. The configure script don't find opensp. I have tried to install the fink version with succes.

comment:3 Changed 18 years ago by gerald.niel@…

I am on PPC (G5).

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added

libofx is fine for me on Intel. You've verified that 'port contents opensp' shows the right libs correct? Here is what I see in libs for it:

/opt/local/lib/libosp.5.0.0.dylib
/opt/local/lib/libosp.5.dylib
/opt/local/lib/libosp.a
/opt/local/lib/libosp.dylib
/opt/local/lib/libosp.la

Otherwise, here is the difference between configure scripts in the testing opensp part from 0.8.0 to 0.8.2:

--- snip080.txt 2006-10-07 14:36:30.000000000 -0700
+++ snip082.txt 2006-10-07 14:35:57.000000000 -0700
@@ -9,8 +9,7 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_cxx_werror_flag"
-                        || test ! -s conftest.err'
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?

Do a 'port libofx extract', then edit configure it as it was in 0.8.0 (the lines preceded by '-') and then do a 'port install libofx'. Please report your results.

comment:5 Changed 18 years ago by gerald.niel@…

I believe that there is no difference between the two files (only a carriage return). And i have actually the same error when i try to compile libofx-0.8.0.

[...] checking whether byte ordering is bigendian... yes checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes /opt/local/lib checking for ParserEventGeneratorKit.h... yes checking for SGMLApplication.h... yes checking for EventGenerator.h... yes checking for libosp... no configure: error: unable to link a test program, is OpenSP installed?

comment:6 Changed 17 years ago by kballard (Lily Ballard)

Milestone: Available Ports
severity: Crash/data lossSerious

comment:7 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:8 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

0.8.3 is now current and installs fine.

comment:9 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.