caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Olivier Andrieu <andrieu@ijm.jussieu.fr>
Cc: fmonnier@linux-nantes.fr.eu.org, caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] lablgtk-2.2.0 --with-gl
Date: 27 May 2004 14:40:59 +1000	[thread overview]
Message-ID: <1085632859.32106.101.camel@pelican.wigram> (raw)
In-Reply-To: <20040526.180127.45808708.andrieu@ijm.jussieu.fr>

On Thu, 2004-05-27 at 02:01, Olivier Andrieu wrote:
>  skaller [27 May 2004]:
>  > On Wed, 2004-05-26 at 22:53, Florent Monnier wrote:
>  > 
>  > > Perhaps you should add the directory containing `gtkgl-2.0.pc'
>  > > to the PKG_CONFIG_PATH environment variable
> 
> Most likely, only an old version (pre 2.0) of gtkglarea is
> installed. Florent, make sure you have a recent, correctly installed
> version of gtkglarea.
> 
>  > PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
>  > 
>  > By default it searches $0/../lib/pkgconfig,
>  > so if you install it in /usr/local it doesn't bother
>  > to search /usr/lib/pkgconfig .. OTOH if you have
>  > that environment variable set the /usr/bin version
>  > will search /usr/local which it should never do.
>  > 
>  > This is one of a huge list of serious faults in
>  > pkg-config. I'd say 'design faults' but it doesn't
>  > look like anyone actually bothered to do any design.
> 
> This nonsense is pretty much off-topic for caml-list.

I DIRECTLY answered a question about building Ocaml
by suggesting a value for PKG_CONFIG_PATH which may solve
Florent's problem.  The value I gave is the one on my system.

I then gave some explanation of how pkg-config works
to explain why that value, and how to deal with
it if it doesn't solve the problem. It may even
*interfere* with correct building.

Finally I mentioned that this program is a heap of garbage
which I think is quite relavent to the currently hot
topic of package/build management for Ocaml software
which needs to know about C libraries too: hopefully
we can learn from badly constructed programs how to do it
better. 'findlib' for example does a related job for
Ocaml, and GODI is also managing package related
meta-information.

So in my opinion, everything I said was in fact
quite relevant to this list.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-05-27  4:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-26 12:53 Florent Monnier
2004-05-26 13:09 ` Jacques GARRIGUE
2004-05-26 14:57   ` Florent Monnier
2004-05-26 15:39 ` skaller
2004-05-26 16:01   ` Olivier Andrieu
2004-05-27  4:40     ` skaller [this message]
2004-05-26 17:33   ` Florent Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1085632859.32106.101.camel@pelican.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=fmonnier@linux-nantes.fr.eu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).