Hello, I'm a new user of macports, and as a trial I tried to install monodevelop. I have a problem with it, and especially with gtk-sharp: when I try to install it (with sudo port -v install gtk-sharp) I have the message: ------------------------------------------------------------------- gda-bdb-provider.c: In function 'gda_bdb_provider_open_connection': gda-bdb-provider.c:168: error: 'struct __db' has no member named 'open' gda-bdb-provider.c:174: error: 'DB_UNKNOWN' undeclared (first use in this function) gda-bdb-provider.c:174: error: (Each undeclared identifier is reported only once gda-bdb-provider.c:174: error: for each function it appears in.) gda-bdb-provider.c:186: error: 'DB_VERSION_STRING' undeclared (first use in this function) gda-bdb-provider.c: In function 'gda_bdb_provider_close_connection': gda-bdb-provider.c:214: error: too many arguments to function 'dbp-
close' make[2]: *** [gda-bdb-provider.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Warning: the following items did not execute (for libgda): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: The following dependencies failed to build: libgda libgnomecanvas libglade2 libgnomeui gnome-keyring libbonoboui dbus xmlto getopt dbus-glib libbonobo orbit2 libidl popt libgnome esound audiofile autoconf gnome-vfs gconf gnome-mime-data heimdal howl neon libgtkhtml3 gail libgnomeprintui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml-namespacesupport libgnomeprint bison libgnomecups cups-headers librsvg libcroco libgsf vte py-gtk2 py-cairo py-numeric py-gobject Error: Status 1 encountered during processing. ------------------------------------------------------------------- When typing "port installed", I find libgda3: "libgda3 @3.0.1_0 +with_bdb44 (active) ". Is it a wrong version of libgda that is installed? thank you for any help, lolveley.
On Jul 10, 2007, at 18:11, olivier SAINT-EVE wrote:
I'm a new user of macports, and as a trial I tried to install monodevelop.
I don't see a port called "monodevelop". Are you installing this manually then? Or do you mean the port "mono"?
I have a problem with it, and especially with gtk-sharp: when I try to install it (with sudo port -v install gtk-sharp) I have the message:
------------------------------------------------------------------- gda-bdb-provider.c: In function 'gda_bdb_provider_open_connection': gda-bdb-provider.c:168: error: 'struct __db' has no member named 'open' gda-bdb-provider.c:174: error: 'DB_UNKNOWN' undeclared (first use in this function) gda-bdb-provider.c:174: error: (Each undeclared identifier is reported only once gda-bdb-provider.c:174: error: for each function it appears in.) gda-bdb-provider.c:186: error: 'DB_VERSION_STRING' undeclared (first use in this function) gda-bdb-provider.c: In function 'gda_bdb_provider_close_connection': gda-bdb-provider.c:214: error: too many arguments to function 'dbp-
close' make[2]: *** [gda-bdb-provider.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Warning: the following items did not execute (for libgda): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: The following dependencies failed to build: libgda libgnomecanvas libglade2 libgnomeui gnome-keyring libbonoboui dbus xmlto getopt dbus-glib libbonobo orbit2 libidl popt libgnome esound audiofile autoconf gnome-vfs gconf gnome-mime-data heimdal howl neon libgtkhtml3 gail libgnomeprintui gnome-icon-theme hicolor-icon- theme icon-naming-utils p5-xml-simple p5-xml-namespacesupport libgnomeprint bison libgnomecups cups-headers librsvg libcroco libgsf vte py-gtk2 py-cairo py-numeric py-gobject Error: Status 1 encountered during processing.
-------------------------------------------------------------------
When typing "port installed", I find libgda3: "libgda3 @3.0.1_0 +with_bdb44 (active) ". Is it a wrong version of libgda that is installed?
When I type "port info gtk-sharp" I see that it depends on the port "libgda", not "libgda3". How did libgda3 get installed on your system? Did you explicitly say "sudo port install libgda3" or did MacPorts install it automatically for you as a dependency of some other port? I don't know anything about gtk-sharp, for example whether it could be updated to use libgda3 instead of libgda. gtk-sharp doesn't have a maintainer either. If you'd like to poke around with it, please feel free, and if you find something in the port that needs to be updated, please let us know.
hello, I wonder how to inform macports that I have manually installed a tar.gz which is in its port-list, the tar.gz being often more recent that the version in the port-list. so my question is double: -inform macports (purpose: activate the port) -upgrade the port Also, I wonder the rule of the message variants:universal after the info command. I think this means that it is possible to download a dmg. Is it true? thank you, lolveley.
On Jul 12, 2007, at 16:00, olivier SAINT-EVE wrote:
I wonder how to inform macports that I have manually installed a tar.gz which is in its port-list, the tar.gz being often more recent that the version in the port-list. so my question is double: -inform macports (purpose: activate the port) -upgrade the port
Well, if you want a newer version of the software than MacPorts currently provides, first step is to sync your ports tree: sudo port sync Perhaps someone has already updated the port. Syncing will retrieve the new version. Now try "port info x" again for your port x. If not, then the port needs to be updated to deal with the new version of the software. Often this is as simple as changing the version and checksum fields in the portfile. Sometimes more work is needed. It depends on the software. Many ports have maintainers. Type "port info x" to see if port x has a maintainer. If so, ask the maintainer to update the port, or file a ticket in Trac and assign it to the maintainer and Cc yourself and the maintainer. If the port has no maintainer, you can request an update to the port here, but it would be more helpful if you would update the port, test it, and submit a patch to the portfile. Information about the format of portfiles can be found by typing "man portfile". There is also old documentation available in the Internet archive: http://web.archive.org/web/20060427120406/darwinports.opendarwin.org/ docs/ There is also the FAQ: http://trac.macosforge.org/projects/macports/wiki/FAQ There is also a new manual currently being developed: http://homepage.mac.com/duling/macports/guide.html
Also, I wonder the rule of the message variants:universal after the info command. I think this means that it is possible to download a dmg. Is it true?
Not quite. The universal variant is there to build the port universal, meaning capable of being used on either a PowerPC Mac or an Intel Mac: http://www.apple.com/universal/ This is only really useful if you plan to use your ports tree on multiple Macs, for example if you have installed MacPorts onto an external hard drive that you plan to move between different Macs. If you do not specify the universal variant when you install a port, then the port is built for whatever type of Mac you're currently on. The universal variant is globally available to all ports, but does not yet work with all ports. If you find a port with which it does not work, bug reports are appreciated. Patches to correct the problem are even more appreciated! :-) See also the FAQ entry: http://trac.macosforge.org/projects/macports/wiki/ FAQ#IsMacPortsUniversal
participants (2)
-
olivier SAINT-EVE
-
Ryan Schmidt