Opened 9 years ago

Last modified 21 months ago

#46890 new defect

vtk @6.1.0 build fails on G4, Leopard

Reported by: zzanderr Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: leopard powerpc Cc: cooljeanius (Eric Gallager)
Port: vtk

Description

The log file is attached. Directly before the first error is the line

:info:build cc1plus: error: /usr/lib/libIOKit.dylib: not a directory

My first thought was that I was in deep trouble...what happened to libIOKit.dylib??!! Why is this machine even running? Heart in throat, I determined that, indeed, libIOKit.dylib was in /usr/lib. I re-read the log's error lines more carefully and was struck by the words "not a directory". Well, of course not....

I decided that I was taunting fortune attempting an upgrade to a new major version while still on a PPC. So back to vtk5.

Out of curiousity, I read the port files for both versions and found the block:

if {${os.major} <= 10} {
     configure.args-append \
          -DIOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework
}

in vtk5's Portfile. I edited vtk's (@6.1.0) Portfile, restarted the build and went to bed. This morning, a pleasant surprise--vtk had built! (I really wasn't expecting this to work, and I give full credit to the author(s) of vtk5's portfile.)

Do note, that I have not tested vtk yet, but I suppose this is a step forward.

Attachments (1)

vtk_main.log.bz2 (47.0 KB) - added by zzanderr 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by zzanderr

Attachment: vtk_main.log.bz2 added

comment:1 Changed 9 years ago by zzanderr

Will send log for successful build on request. It's big.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Cc: stromnov@… removed
Keywords: leopard powerpc added
Owner: changed from macports-tickets@… to stromnov@…
Port: @6.1.0 removed

comment:3 Changed 21 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.