Opened 13 years ago

Closed 5 years ago

#34212 closed defect (fixed)

liblrdf compilation problems

Reported by: ilia_2s@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: dbevans (David B. Evans)
Port: liblrdf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I tried to build an arour2 port from the latest macports version on my 10.4.11/PPP ibook and I found some problems:

  1. no SConstruct patch for raptor2
  2. I copied
    /libs/ardour/audioanalyser.cc
    /libs/ardour/configuration.cc
    /libs/pbd/base_ui.os
    /libs/pbd/path.cc
    
    from original sources to escape "g_access' was not declared in this scope" problem,
  3. I changed all #include <glib/*.h> to #include <glib.h> for prevent new glib-2.3 problems.

Change History (9)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Milestone: MacPorts 2.1.0
Owner: changed from macports-tickets@… to devans@…
Port: ardour2 added
Priority: LowNormal

comment:2 Changed 12 years ago by ilia_2s@…

I does not compile ardour2 successfully yet...

I did a clean install of macports from SVN and start again.

I will post all problems and solutions here, if i found them.

First, it's a liblrdf installation failure:

--->  Configuring liblrdf
aclocal: error: aclocal: file 'm4/lt~obsolete.m4' does not exist
autoreconf: aclocal failed with exit status: 1

solution:

remove incorrect symlinks in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_liblrdf/liblrdf/work/LRDF-0.5.0/m4

see ticket #27533

then I did all steps described above

comment:3 Changed 12 years ago by macports-trac@…

This is actually a bug in the liblrdf port. Suggested fix confirmed to work on Mac OS X 10.5.8 PPC.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Cc: devans@… added
Owner: changed from devans@… to pixilla@…
Port: liblrdf added

comment:5 Changed 12 years ago by ilia_2s@…

It's not so hard to fix symlinks for liblrdf.

But, I still got "g_access" error, because ardour compilation process use an atomic operations which are available only from glib 2.10 onward. You need to patch glib-2.32 for it!

Newertheless, I can't install glib with atomic operations support from clear (not macports) source, because it depend on gettext, that holds on "Checking for java compiler..." configuring stage.

Now I am truing to build older ports (glib2.1, ardour2.5 and deps). I will post my results here.

comment:6 Changed 12 years ago by lpsinger (Leo Singer)

Note that in the latest version, ardour-2.8.16, the raptor -> raptor2 issue has been fixed.

comment:7 Changed 10 years ago by jmroot (Joshua Root)

Port: ardour2 removed
Summary: ardour2 compilation problemsliblrdf compilation problems

ardour2 deleted, r109459

comment:8 Changed 6 years ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

comment:9 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Looks like this was fixed by r102286 (please reopen if not).

Note: See TracTickets for help on using tickets.