public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4345] New: Logic in frysk-common.ac to determine 64-bit library location is flawed
@ 2007-04-11  2:06 kris dot van dot hees at oracle dot com
  2007-04-11  2:48 ` [Bug general/4345] " cagney at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kris dot van dot hees at oracle dot com @ 2007-04-11  2:06 UTC (permalink / raw)
  To: frysk-bugzilla

The following logic is used in common/frysk-common.ac:

    lib=`pkg-config --debug 2>&1 |awk -F '/' '/^Scanning.*pkgconfig.$/ { print
$(NF - 1); exit; }'`
    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/$lib/frysk/pkgconfig

There are two problems with this code:

1) The first line will not have the desired result for any host where the
   PKG_CONFIG_PATH has a non-standard path at the beginning of the list,
   which is commonly done for local overrides.
2) The PKG_CONFIG_PATH environment variable should not require a specific
   Frysk component for building Frysk, given that we can (and should be able
   to) build Frysk on a system where Frysk is not yet installed.  As such,
   there should not be any need to have this line in common/frysk-common.ac at
   all.

-- 
           Summary: Logic in frysk-common.ac to determine 64-bit library
                    location is flawed
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: kris dot van dot hees at oracle dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4345

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-12 11:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-11  2:06 [Bug general/4345] New: Logic in frysk-common.ac to determine 64-bit library location is flawed kris dot van dot hees at oracle dot com
2007-04-11  2:48 ` [Bug general/4345] " cagney at redhat dot com
2007-04-11  3:18 ` kris dot van dot hees at oracle dot com
2007-04-12  4:53 ` cagney at redhat dot com
2007-04-12 11:19 ` kris dot van dot hees at oracle dot com

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 read-only IMAP folder(s) and NNTP newsgroup(s).