Post Reply 

How to build git to /opt in SuSE 12.x?

Oct 7, 2012, 12:50
Post: #1
How to build git to /opt in SuSE 12.x?
Tried to build git on SuSE 12.2, here's what I tried after I resolved some build deps:

export PATH=/opt/gimp-git/bin:$PATH
export PKG_CONFIG_PATH=/opt/gimp-git/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp-git/lib

then from same shell:

git clone git://git.gnome.org/babl
cd babl
./autogen.sh --prefix=/opt/gimp-2.8
make
sudo make install

So far, so good.
Now when I try to build GEGL against the new BABL I get after

cd gegl
./autogen.sh --prefix=/opt/gimp-git


[...]
"checking for BABL... no
configure: error: Package requirements (babl >= 0.1.10) were not met:

No package 'babl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details."


What am I doing wrong here?
Find all posts by this user
Quote this message in a reply
Oct 8, 2012, 18:51
Post: #2
RE: How to build git to /opt in SuSE 12.x?
(Oct 7, 2012 17:27)ofnuts Wrote:  You are putting babl in /opt/gimp-2.8 and not /opt/gimp-git unless I am mistaken.

Ah, no, copy/paste error, my fault. everything to /opt/gimp-git.
Find all posts by this user
Quote this message in a reply
Oct 9, 2012, 14:42
Post: #3
RE: How to build git to /opt in SuSE 12.x?
Wrote some simple scripts to build the components, still no go.
I use this for BABL:

#!/bin/bash
export PATH=/opt/gimp-git/bin:$PATH
export PKG_CONFIG_PATH=/opt/gimp-git/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp-git/lib
export ACLOCAL_FLAGS="-I /opt/gimp-git/share/aclocal $ACLOCAL_FLAGS"
export XDG_DATA_DIRS=/opt/gimp-git/share

cd babl
./autogen.sh --prefix=/opt/gimp-git && make

and sudo make install manually once the script is through,

then I run
#!/bin/bash
export PATH=/opt/gimp-git/bin:$PATH
export PKG_CONFIG_PATH=/opt/gimp-git/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp-git/lib
export ACLOCAL_FLAGS="-I /opt/gimp-git/share/aclocal $ACLOCAL_FLAGS"
export XDG_DATA_DIRS=/opt/gimp-git/share

cd gegl
./autogen.sh --prefix=/opt/gimp-git && make


and again, it complains that BABL isn't there.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Gimp Latest Build has me a little puzzled kmk55 1 121 Sep 14, 2018 08:40
Last Post: paynekj
  SPAM - Figuring out How To Build An Italy Email List For Your Business sabinadipu25 1 253 Jan 9, 2018 09:01
Last Post: charliejulien
  how to build map of Death Valley Cloud 12 2,203 May 19, 2011 00:42
Last Post: missmacabresass

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS