--- Chris Vine <chris@xxxxxxxxxxxxxxxxxxxxx> wrote: > 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. I think you are missing the point of my tool - each library resides in a separate directory by default. Though you can override this. Because of the above you can have more than one version of the same library. And I won't believe that introducing new features does not screw up things, so having more than one version of the same library might help to have access to both bleeding edge features and enjoy stability. Suppose for GIMP you need stability and for Firefox - new features. In the framework of my tool you can base GIMP and Firefox on different versions of gtk+ and friends. > > Chris > > --Sergei. Applications From Scratch: http://appsfromscratch.berlios.de/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list