Re: [Gtk-osx-users] Newbie question




on OS X 10.6.4....

Created a new account called shawnhack downloaded the script.
prompt> sh gtk-osx-build-setup.sh

then executed:

prompt> jhbuild bootstrap
prompt> jhbuild build meta-gtk-osx-bootstrap


Got:

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/Users/shawnhack/gtk/inst/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch x86_64 -mmacosx-version-min=10.6 -Wall -MT gconvert.lo -MD -MP -MF .deps/gconvert.Tpo -c -o gconvert.lo gconvert.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/Users/shawnhack/gtk/inst/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch x86_64 -mmacosx-version-min=10.6 -Wall -MT gconvert.lo -MD -MP -MF .deps/gconvert.Tpo -c gconvert.c -fno-common -DPIC -o .libs/gconvert.o
gconvert.c:55:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
make[4]: *** [gconvert.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 during phase build of glib: ########## Error running make *** [2/10]


downloaded the latest release of the libiconv : The latest release is
http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz

opened a new console window

prompt> jhbuild shell
prompt> cd /Users/shawnhack/gtk/srouces/libiconv-1.13.1
prompt> configure --prefix = /users/shawnhack/gtk/inst
prompt> make; make install


closed the console window and re-ran the phase from distribution clean

*** success *** [10/10]


No ige mac integration.





created a second account shawn2

executed:

prompt> sh gtk-osx-build-setup.sh
prompt> export PATH=$PATH:/Users/shawn2/.local/bin


edited the .jhbuildrc-custom file:
commented # setup_sdk(target=_target, sdk_version="native", architectures=[_default_arch])
added setup_sdk(target="10.5", sdk_version="10.5", architectures=["i386"])


prompt> jhbuild bootstrap
prompt> jhbuild build meta-gtk-osx-bootstrap


got:

/bin/sh /Users/shawn2/gtk/source/libxslt-1.1.26/install-sh -d /Library/Python/2.6/site-packages
/Users/shawn2/.local/bin/install-check -m 0644 libxslt.py /Library/Python/2.6/site-packages
install: /Library/Python/2.6/site-packages/libxslt.py: Permission denied
make[3]: *** [install-data-local] Error 71
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
*** Error during phase install of libxslt: ########## Error running make install *** [3/15]

[1] Rerun phase install
[2] Ignore error and continue to next module
[3] Give up on module
[4] Start shell
[5] Reload configuration



I checked and found the file to exists, and be owned by root, so this probably is now included with 10.6.4, so I selected option 2.

*** success *** [15/15]












From: travisgriggs gmail com
To: gtk-osx-users lists sourceforge net
Date: Thu, 1 Jul 2010 11:13:30 -0700
Subject: Re: [Gtk-osx-users] Newbie question


On Jul 1, 2010, at 10:45 AM, Shawn Bakhtiar wrote:


Sorry my bad it should have been:

prompt>  export PATH=$PATH:/Users/YourName/.local/bin

also make sure to replace YourName with actual account name this is all installed under. You can get that by executing whoami


yeah, i'd fixed that already. my current path is:

iboard17:~ travis$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/Users/travis/.local/bin

--
Travis Griggs
Objologist
Light travels faster than sound. This is why some people appear bright until you hear them speak...






Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]