Build error on OS X 10.4.10, native compilation with jhbuild

Bug #169098 reported by Acruiz
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

I've got this error while trying to build inkscape in mac os x 10.4.10:

./extension/extension.h:109: error: declaration does not declare anything
./extension/input.h:39: error: declaration does not declare anything
./extension/output.h:37: error: declaration does not declare anything

Tags: build osx
Revision history for this message
Kur9kin (kur9kin) wrote :

Originator: NO

What revision are you trying to build?
Have you followed http://inkscape.org/wiki/index.php/CompilingInkscape ?

Following the instructions there, Inkscape builds just fine on Mac OS X
Tiger most of the time.

Revision history for this message
Acruiz (acruiz) wrote :

Originator: YES

I'm trying to build the trunk version.

Regarding the instructions, I'm using jhbuild to build it, from the guys
doing the mac os x port of gtk:
http://developer.imendio.com/projects/gtk-macosx/build-instructions

I'm gonna have a look at the different build scripts and the instructions
to check if there's something missing, although so far I don't see any
difference on what jhbuild does and the instructions.

Revision history for this message
Bug Importer (bug-importer) wrote :

I think I´ve found the problem.

There are more headers with the same problem, effect.h, and print.h.

It seems that for some reason, the symbol "check" has some kind of
problem.
Actually, substituing check for do_check, let me compile those files (the
check method name is used in so many places, that I got tired of replacing
and didn't tried to build it all).

Any ideas on how can I know why gcc is misleading the symbol check? Maybe
some macro?

I'm using g++ 4.0 on an intel macbook.
$ uname -a
Darwin ordenador-de-alberto-ruiz.local 8.10.1 Darwin Kernel Version
8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386
i386

$ g++ --version
i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
JiHO (jiho) wrote :

I managed to compile Inkscape natively with GTK from macports on 10.4 and 10.5 recently, with the same version fo gcc. I don't know what jhbuild sets which is special and makes Inkscape choke. Have you tried something since your last message? Any advice from GTK/jhbuild maintainers? jhbuild seems to be the "official" way to compile GTK so it would be nice to have it working with Inkscape.

Changed in inkscape:
importance: High → Medium
Revision history for this message
Beluga (buovjaga) wrote :

Any update on this after nearly 10 years? Maybe the problem has disappeared.

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Assuming the problem is no longer relevant given there have been releases since the bug report was first filed.

Changed in inkscape:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.