Can't install gedit

Randall Wood rhwood at mac.com
Fri Oct 5 02:00:03 PDT 2007


Sorry about giving that erronious advice. Let's try this instead:

1)	sudo port gst-plugins-good install
2)	sudo port gnome-bindings-suite install
3)	sudo port gnome-session install
	At this point you will have a minimum working GNOME (it will  
complain about missing parts, but you can click through that)
4)	sudo port gnome install
5)	The failure message contains a line reading:
	Error: The following dependencies failed to build:... and a long  
list of ports
6)	Manually install each failed dependency. Note that there is a bug  
in the build process of a number of gnome-based ports that I am  
trying to work through...
7)	Repeat steps 5 and 6 until you are at the point where all ports  
listed are known to have failed.
8)	This is the most complete way to install a mostly complete GNOME  
while I work on fixing it.

On 3 Oct 2007, at 14:53, William Davis wrote:

>
> On Oct 3, 2007, at 2:32 PM, Matthias Brennwald wrote:
>
>> On 03.10.2007, at 13:33, Randall Wood wrote:
>>
>>> Try "sudo port -p install gnome" that should install every gnome  
>>> dependency that builds right now. It will give you a (mostly)  
>>> working gnome installation.
>>
>> Aehm, no, that did not work:
>>
>> sudo port -p install gnome
>> Password:
>> --->  Building gedit with target all
>> Error: Target org.macports.build returned: shell command " cd "/ 
>> opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnom 
>> e_gedit/work/gedit-2.16.2" && make all " returned error 2
>> Command output: make  all-recursive
>> Making all in bindings
>> make[3]: Nothing to be done for `all-am'.
>> Making all in gedit
>> make  all-recursive
>> Making all in dialogs
>> make[4]: Nothing to be done for `all'.
>> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - 
>> I. -I. -I.. -I.. -I. -DXTHREADS -DORBIT2=1 -D_REENTRANT -I/opt/ 
>> local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
>> local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/ 
>> gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/ 
>> cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/ 
>> freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/ 
>> opt/local/include/gtksourceview-1.0 -I/opt/local/include/libxml2 - 
>> I/opt/local/include/libgnomeprint-2.2 -I/opt/local/include/ 
>> libart-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/ 
>> include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/ 
>> include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/ 
>> local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome- 
>> vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/ 
>> include/orbit-2.0 -I/opt/local/include/libbonobo-2.0 -I/opt/local/ 
>> include/bonobo-activation-2.0 -I/opt/local/include/gail-1.0 -I/opt/ 
>> local/include/libglade-2.0 -I/opt/local/include/ 
>> libgnomeprintui-2.2   -Wall -Wmissing-prototypes   -DDATADIR=\""/ 
>> opt/local/share"\" -DGEDIT_DATADIR=\""/opt/local/share/gedit-2"\" - 
>> DGEDIT_LOCALEDIR=\""/opt/local/share/locale"\" -DGEDIT_UI_DIR=\""/ 
>> opt/local/share/gedit-2/ui/"\" -DGEDIT_PLUGINDIR=\""/opt/local/lib/ 
>> gedit-2/plugins"\" -DGEDIT_GLADEDIR=\""/opt/local/share/gedit-2/ 
>> glade/"\" -DGEDIT_ICONDIR=\""/opt/local/share/gedit-2/icons"\"   - 
>> I/opt/local/include -L/opt/local/lib  -O2 -no-cpp-precomp - 
>> flat_namespace -undefined suppress -L/opt/local/lib -MT gedit- 
>> languages-manager.lo -MD -MP -MF ".deps/gedit-languages- 
>> manager.Tpo" -c -o gedit-languages-manager.lo gedit-languages- 
>> manager.c; \
>> then mv -f ".deps/gedit-languages-manager.Tpo" ".deps/gedit- 
>> languages-manager.Plo"; else rm -f ".deps/gedit-languages- 
>> manager.Tpo"; exit 1; fi
>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -DXTHREADS -DORBIT2=1 - 
>> D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
>> glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0  
>> -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/ 
>> opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/ 
>> local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/ 
>> include -I/opt/local/include/gtksourceview-1.0 -I/opt/local/ 
>> include/libxml2 -I/opt/local/include/libgnomeprint-2.2 -I/opt/ 
>> local/include/libart-2.0 -I/opt/local/include/libgnomeui-2.0 -I/ 
>> opt/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/ 
>> opt/local/include/libgnome-2.0 -I/opt/local/include/ 
>> libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/ 
>> local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include  
>> -I/opt/local/include/orbit-2.0 -I/opt/local/include/libbonobo-2.0 - 
>> I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/ 
>> gail-1.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/ 
>> libgnomeprintui-2.2 -Wall -Wmissing-prototypes -DDATADIR=\"/opt/ 
>> local/share\" -DGEDIT_DATADIR=\"/opt/local/share/gedit-2\" - 
>> DGEDIT_LOCALEDIR=\"/opt/local/share/locale\" -DGEDIT_UI_DIR=\"/opt/ 
>> local/share/gedit-2/ui/\" -DGEDIT_PLUGINDIR=\"/opt/local/lib/ 
>> gedit-2/plugins\" -DGEDIT_GLADEDIR=\"/opt/local/share/gedit-2/ 
>> glade/\" -DGEDIT_ICONDIR=\"/opt/local/share/gedit-2/icons\" -I/opt/ 
>> local/include -L/opt/local/lib -O2 -no-cpp-precomp -flat_namespace  
>> -undefined suppress -L/opt/local/lib -MT gedit-languages- 
>> manager.lo -MD -MP -MF .deps/gedit-languages-manager.Tpo -c gedit- 
>> languages-manager.c  -fno-common -DPIC -o .libs/gedit-languages- 
>> manager.o
>> gedit-languages-manager.c:115: error: conflicting types for  
>> 'gdk_color_to_string'
>> /opt/local/include/gtk-2.0/gdk/gdkcolor.h:137: error: previous  
>> declaration of 'gdk_color_to_string' was here
>> make[4]: *** [gedit-languages-manager.lo] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Error: The following dependencies failed to build: gnome-desktop- 
>> suite gedit gnome-applets gnome-audio gnome-backgrounds gnome- 
>> games gnome-python-desktop py25-gnome libzvt gnome-session py25- 
>> orbit guile gmp readline gnome-keyring-manager gnome-media gnome- 
>> system-monitor gnome-user-docs gnome-utils gnopernicus gst-plugins- 
>> good flac id3lib libcaca libcdio libcddb libshout2 speex taglib  
>> wavpack gucharmap libgail-gnome libgtkhtml3 seahorse gpgme gnupg  
>> bzip2 pth system-tools-backends vino gnutls libtasn1 lzo opencdk  
>> yelp firefox-x11 zip libgtkhtml zenity
>> Error: Status 1 encountered during processing.
>>
>>
>>
>>> On 3 Oct 2007, at 07:14, Matthias Brennwald wrote:
>>>
>>>> Ok. Actually, I encountered this problem when I tried to install  
>>>> gnome (sudo port install gnome). So, in the meantime, Is it  
>>>> possible to install gnome without gedit?
>>>>
>>>> Matthias
>>>>
>>>> On 03.10.2007, at 13:11, macports-users- 
>>>> request at lists.macosforge.org wrote:
>>>>
>>>>> Message: 7
>>>>> Date: Wed, 3 Oct 2007 07:11:06 -0400
>>>>> From: Randall Wood <rhwood at mac.com>
>>>>> Subject: Re: Can't install gedit
>>>>> To: Matthias Brennwald <matthias at brennwald.org>
>>>>> Cc: macports-users at delta.macosforge.org
>>>>> Message-ID: <1A3C78CF-D992-4741-A46E-6D3D6B87B776 at mac.com>
>>>>> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes;  
>>>>> format=flowed
>>>>>
>>>>> This is a known situation and I am working towards solving it.
>>>>> Unfortunately, I do not have an ETA on a working gedit port.
>>
>
> I got the about the same result, except that the ERROR 1 occurred  
> during the build of gcalctool.
>
> Error: The following dependencies failed to build: gnome-desktop- 
> suite gcalctool gconf-editor gdm gedit gtksourceview gnuregex  
> gtkspell2 aspell gnome-applets gnome-audio gnome-backgrounds gnome- 
> games gnome-python-desktop py25-gnome libzvt gnome-session py25- 
> orbit guile gmp gnome-keyring-manager gnome-media gnome-system- 
> monitor gnome-user-docs gnome-utils gnopernicus gst-plugins-good  
> flac id3lib libcaca libcdio libcddb libshout2 speex taglib wavpack  
> gucharmap libgail-gnome libgtkhtml3 seahorse gpgme gnupg pth system- 
> tools-backends vino gnutls libtasn1 lzo opencdk yelp firefox-x11  
> zip zenity
>
> W. Davis
>



Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-users mailing list