#32358 closed defect (fixed)
gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop.
Reported by: | rudloff@… | Owned by: | singingwolfboy@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | tiger | Cc: | dgonyier (Dwaine Gonyier), neverpanic (Clemens Lang), ballapete (Peter "Pete" Dyballa), cooljeanius (Eric Gallager) |
Port: | gobject-introspection |
Description
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-0.10.8' Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop.
Attachments (1)
Change History (15)
Changed 13 years ago by rudloff@…
comment:1 Changed 13 years ago by dgonyier (Dwaine Gonyier)
Cc: | dgonyier@… added |
---|
comment:2 follow-up: 4 Changed 12 years ago by jmroot (Joshua Root)
Cc: | singingwolfboy@… removed |
---|---|
Owner: | changed from macports-tickets@… to singingwolfboy@… |
Does using the gmake port for build.cmd help?
comment:3 Changed 12 years ago by neverpanic (Clemens Lang)
Cc: | cal@… Peter_Dyballa@… added |
---|
comment:4 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
Replying to jmr@…:
Does using the gmake port for build.cmd help?
How can I convince port of using gmake instead of make? I can't find the string 'make' in Portfile…
comment:5 follow-up: 6 Changed 12 years ago by sharvey@…
I have exactly same problem as this and ticket #35186 but on OSX10.4.11. The problem was initiated by a "self update" followed by a "upgrade outdated". I have just successfully issued "install gmake". Using command line "install gobject-introspection build.cmd gmake" makes absolutely no difference.
comment:6 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
Replying to sharvey@…:
I have exactly same problem as this and ticket #35186 but on OSX10.4.11. The problem was initiated by a "self update" followed by a "upgrade outdated". I have just successfully issued "install gmake". Using command line "install gobject-introspection build.cmd gmake" makes absolutely no difference.
You need to add 'build.cmd gmake" to the Portfile – which can be found by running
locate Portfile | grep gobject-introspection
(I did it on line #53, below the two other lines starting with 'build'). Then save Portfile or write it back. Now invoke 'port clean gobject-introspection' and then proceed to upgrade.
For me upgrading the atk package led to ann error:
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_atk/atk/work/atk-2.2.0/atk' /opt/local/share/gobject-introspection-1.0/Makefile.introspection:149: *** Need to define Atk_1_0_gir_LIBS or Atk_1_0_gir_PROGRAM. Stop.
(Reported.)
comment:7 follow-up: 8 Changed 12 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r95523.
comment:8 follow-up: 9 Changed 12 years ago by ccarey@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to cal@…:
Fixed in r95523.
I’m still getting the same error on Tiger with the r95523 Portfile:
:debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.32.1" && /usr/bin/gnumake -w all CC=/usr/bin/gcc-4.0 V=1 :info:build gnumake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.32.1' :info:build Makefile:2833: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. :info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.32.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.32.1" && /usr/bin/gnumake -w all CC=/usr/bin/gcc-4.0 V=1 :info:build Exit code: 2
It looks like /usr/bin/gnumake
(version 3.80) came with Tiger. The MacPorts /opt/local/bin/gmake
is version 3.82. Does gobject-introspection need to use the MacPorts gmake rather than Tiger’s gnumake?
comment:9 follow-ups: 10 11 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ccarey@…:
It looks like
/usr/bin/gnumake
(version 3.80) came with Tiger. The MacPorts/opt/local/bin/gmake
is version 3.82. Does gobject-introspection need to use the MacPorts gmake rather than Tiger’s gnumake?
I used MacPorts' gmake. It had to be installed first.
comment:10 Changed 12 years ago by darylew@…
Replying to Peter_Dyballa@…:
Replying to ccarey@…:
It looks like
/usr/bin/gnumake
(version 3.80) came with Tiger. The MacPorts/opt/local/bin/gmake
is version 3.82. Does gobject-introspection need to use the MacPorts gmake rather than Tiger’s gnumake?I used MacPorts' gmake. It had to be installed first.
Came in from #35186. Already had MacPorts' gmake installed. Still had the same error, even after changing the Portfile to match r95523.
comment:11 follow-up: 12 Changed 12 years ago by ccarey@…
Replying to Peter_Dyballa@…:
Replying to ccarey@…:
It looks like
/usr/bin/gnumake
(version 3.80) came with Tiger. The MacPorts/opt/local/bin/gmake
is version 3.82. Does gobject-introspection need to use the MacPorts gmake rather than Tiger’s gnumake?I used MacPorts' gmake. It had to be installed first.
Peter, like darylew above, the MacPorts gmake was already installed on my system before trying to install gobject-introspection with r95523. My $PATH
environment variable even has /opt//local/bin
before /usr/bin
, so I was surprised to see the Tiger gnumake being used in preference to the MacPorts gmake. Does some kind of $PATH
manipulation need to be done for the macports
user as well?
comment:12 Changed 12 years ago by neverpanic (Clemens Lang)
Replying to ccarey@…:
Does some kind of
$PATH
manipulation need to be done for themacports
user as well?
No. I just wrongly assumed Tiger either wouldn't have gnumake
installed or it would be sufficient. I will fix this soon.
comment:13 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Cc Me!