[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-bugdb
Subject:    [BugDB] [glib2] libiconv inconsistency during compilation (PR#177)
From:       matt () cis ! ksu ! edu
Date:       2003-04-17 17:22:51
[Download RAW message or body]

Full_Name: Matt Hoosier
Version: 2.2.1-20030203
OS: Solaris 9
Submission from: (NULL) (129.130.10.83)


During compilation on at least Solaris, that AutoConf gets confused about the
status of libiconv (required by the prerequisite package gettext).

"Configure" determines that libiconv isn't present (when it actually is), and
sets Makefiles accordingly. At compile-time, though, the system headers for
libiconv are found. This causes compilation to crash.

I have included a patch below that fixes this by explicitly selecting a
configure-time option to specify the GNU libiconv is installed on the system.
This should be OK since the glib2 package is transitively Build-dependent on
libiconv anyway.

--
Matt Hoosier
Accounts Manager
Computing and Information Systems Department
Kansas State University

*** BEGIN PATCH ***

--- glib2.spec.orig     2003-04-17 12:11:40.881422000 -0500
+++ glib2.spec  2003-04-17 12:12:15.272701000 -0500
@@ -71,6 +71,7 @@
         --prefix=%{l_prefix} \
         --disable-debug \
         --disable-shared \
+        --with-libiconv=gnu \
 %if "%{with_threads}" == "yes"
         --enable-threads
 %else
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Bug Database Interface                           www.openpkg.org/bugdb
Bug Database List                            openpkg-bugdb@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic