Re: stuck while installing GTK+ ,,, need help

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

 



On Friday 13 October 2006 16:12, Sergei Steshenko wrote:

[snip]

> I wrote my tool because I wanted to build gtk+ and its Perl bindings in the
> first place.
>
> And I did do this manually first, and found it quite difficult and error
> prone.
>
> The tools solved problems for me and for my colleague who needed to build
> gtk+ and its Perl bindings on Solaris.
>
> So, what's the problem ?
>
> Or you advise to manually enter command lines like these:
>
>
> 1) 'configure':
>
> cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
> PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/remo
>vable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/buil
>d_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/lib
>png-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt
>/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/
>local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/
>ibm/home/sergei/bin:/usr/lib/ssh; export PATH;
> LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/m
>nt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/serg
>ei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/i
>nstall/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b
>/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/remova
>ble4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build
>_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-
>1.2.3/lib:/usr/X11R6/lib; export LD_LIBRARY_PATH;
> PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pk
>gconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:
>/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/
>removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removabl
>e4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/ser
>gei/build_work/install/pango-1.14.0/lib/pkgconfig; export PKG_CONFIG_PATH;
> LDFLAGS='-L/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib
> -L/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib
> -L/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib'; export
> LDFLAGS;
> CPPFLAGS='-I/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/include
> -I/mnt/removable4/sergei/build_work/install/tiff-3.8.2/include
> -I/mnt/removable4/sergei/build_work/install/zlib-1.2.3/include'; export
> CPPFLAGS; ./configure
> --prefix=/mnt/removable4/sergei/build_work/install/gtk+-2.8.20
> 1>configure.log 2>&1
>
>
> 2) 'make':
>
> cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
> PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/remo
>vable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/buil
>d_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/lib
>png-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt
>/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/
>local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/
>ibm/home/sergei/bin:/usr/lib/ssh; export PATH;
> LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/m
>nt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/serg
>ei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/i
>nstall/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b
>/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/remova
>ble4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build
>_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-
>1.2.3/lib:/usr/X11R6/lib; export LD_LIBRARY_PATH;
> PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pk
>gconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:
>/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/
>removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removabl
>e4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/ser
>gei/build_work/install/pango-1.14.0/lib/pkgconfig; export PKG_CONFIG_PATH;
> LDFLAGS='-L/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib
> -L/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib
> -L/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib'; export
> LDFLAGS;
> CPPFLAGS='-I/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/include
> -I/mnt/removable4/sergei/build_work/install/tiff-3.8.2/include
> -I/mnt/removable4/sergei/build_work/install/zlib-1.2.3/include'; export
> CPPFLAGS; ./configure
> --prefix=/mnt/removable4/sergei/build_work/install/gtk+-2.8.20
> 1>configure.log 2>&1
>
> 3) 'make install':
>
> cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
> PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/remo
>vable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/buil
>d_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/lib
>png-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt
>/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/
>local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/
>ibm/home/sergei/bin:/usr/lib/ssh; export PATH;
> LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/m
>nt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/serg
>ei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/i
>nstall/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b
>/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/remova
>ble4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build
>_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-
>1.2.3/lib:/usr/X11R6/lib; export LD_LIBRARY_PATH;
> PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pk
>gconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:
>/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/
>removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removabl
>e4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/ser
>gei/build_work/install/pango-1.14.0/lib/pkgconfig; export PKG_CONFIG_PATH;
> make 1>make.log 2>&1
>
>
> cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
> PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/remo
>vable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/buil
>d_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/lib
>png-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt
>/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/
>local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/
>ibm/home/sergei/bin:/usr/lib/ssh; export PATH;
> LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/m
>nt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/serg
>ei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/i
>nstall/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b
>/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/remova
>ble4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build
>_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-
>1.2.3/lib:/usr/X11R6/lib; export LD_LIBRARY_PATH;
> PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pk
>gconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:
>/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/
>removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removabl
>e4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/ser
>gei/build_work/install/pango-1.14.0/lib/pkgconfig; export PKG_CONFIG_PATH;
> make install 1>make_install.log 2>&1
>
> ?
>
> I know it is very easy to make a mistake in such command lines, that's why
> I suggest to use a tool which generates them automatically.

I would just do ./configure --prefix=[whatever]; make; make install.

Chris

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux