Menu

#94 2.37 build can't find config.h

open-fixed
None
5
2005-06-11
2005-06-02
KCB
No

So building version 2.37, it can't find config.h. Seems
to be because the configure step doesn't create a
config.h like I expected it would. It does create a
pre-config.h. On a lark I copied pre-config.h to
config.h and tried to make install. It compiles for a
while but then runs into errors. Guessing this back
hack failed, no surprise there. Any idea what is going on?

This is on solaris 8 with gcc 3.3.2.

relavent environment variables:
LDFLAGS=-L/usr/lsd/openssl/default-0.9.7/lib
-R/usr/lsd/openssl/default-0.9.7/lib
-L/usr/usc/nss/default/lib -R/usr/usc/nss/default/lib
-L/usr/usc/lib -R/usr/usc/lib

CPPFLAGS=-I/usr/usc/ao/2-default/include
-I/usr/usc/audiofile/0-default/include

PATH=/usr/usc/gaim/1.3.0/bin:/usr/usc/gnu/gcc/3.3.2/bin:/usr/usc/gnu/aspell/0.60.2/bin:/usr/usc/audiofile/0.2.6/bin:/usr/usc/libxml/2.6.9/bin:/usr/lsd/openssl/0.9.7d/bin:/usr/usc/gnu/pango/1.4.0/bin:/usr/usc/gnu/gtk+/2.4.3/bin:/usr/usc/gnu/glib/2.4.4/bin:/usr/usc/pkg-config/0.15/bin:/usr/bin:/usr/usc/bin:/usr/openwin/bin:/usr/sbin:/sbin:/usr/lsd/bin:/usr/ccs/bin:/usr/lsd/sbin

CFLAGS=-I/usr/usc/ao/2-default/include
-I/usr/usc/audiofile/0-default/include

PKG_CONFIG_PATH=/usr/usc/gaim/1.3.0/lib/pkgconfig:/usr/usc/gnu/gtkspell/2.0.11/lib/pkgconfig:/usr/usc/audiofile/0.2.6/lib/pkgconfig:/usr/usc/ao/0.8.6/lib/pkgconfig:/usr/usc/libxml/2.6.9/lib/pkgconfig:/usr/lsd/openssl/0.9.7d/lib/pkgconfig:/usr/usc/gnu/pango/1.4.0/lib/pkgconfig:/usr/usc/gnu/atk/1.6/lib/pkgconfig:/usr/usc/gnu/gtk+/2.4.3/lib/pkgconfig:/usr/usc/gnu/glib/2.4.4/lib/pkgconfig

configure options:
./configure --prefix=/usr/usc/gaim/1.3.0
--with-nspr-libs=/usr/usc/nss/default/lib
--with-nspr-includes=/usr/usc/nss/default/include/nspr
--with-nss-libs=/usr/usc/nss/default/lib
--with-nss-includes=/usr/usc/nss/default/include/nss
--with-included-gettext

[kbraunsc@mesa gaim-encryption-2.37]$ gmake install
Making install in po
gmake[1]: Entering directory
`/auto/src-02/common/usc/gaim/gaim-encryption-2.37/po'
/bin/sh `case ".././mkinstalldirs" in /*) echo
".././mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;;
esac` /usr/usc/gaim/1.3.0/share
installing cs.gmo as
/usr/usc/gaim/1.3.0/share/locale/cs/LC_MESSAGES/gaim-encryption.mo
installing da.gmo as
/usr/usc/gaim/1.3.0/share/locale/da/LC_MESSAGES/gaim-encryption.mo
installing de.gmo as
/usr/usc/gaim/1.3.0/share/locale/de/LC_MESSAGES/gaim-encryption.mo
installing es.gmo as
/usr/usc/gaim/1.3.0/share/locale/es/LC_MESSAGES/gaim-encryption.mo
installing fr.gmo as
/usr/usc/gaim/1.3.0/share/locale/fr/LC_MESSAGES/gaim-encryption.mo
installing hu.gmo as
/usr/usc/gaim/1.3.0/share/locale/hu/LC_MESSAGES/gaim-encryption.mo
installing it.gmo as
/usr/usc/gaim/1.3.0/share/locale/it/LC_MESSAGES/gaim-encryption.mo
installing ja.gmo as
/usr/usc/gaim/1.3.0/share/locale/ja/LC_MESSAGES/gaim-encryption.mo
installing nl.gmo as
/usr/usc/gaim/1.3.0/share/locale/nl/LC_MESSAGES/gaim-encryption.mo
installing pl.gmo as
/usr/usc/gaim/1.3.0/share/locale/pl/LC_MESSAGES/gaim-encryption.mo
installing pt_BR.gmo as
/usr/usc/gaim/1.3.0/share/locale/pt_BR/LC_MESSAGES/gaim-encryption.mo
installing ru.gmo as
/usr/usc/gaim/1.3.0/share/locale/ru/LC_MESSAGES/gaim-encryption.mo
installing sl.gmo as
/usr/usc/gaim/1.3.0/share/locale/sl/LC_MESSAGES/gaim-encryption.mo
installing uk.gmo as
/usr/usc/gaim/1.3.0/share/locale/uk/LC_MESSAGES/gaim-encryption.mo
installing zh_TW.gmo as
/usr/usc/gaim/1.3.0/share/locale/zh_TW/LC_MESSAGES/gaim-encryption.mo
if test "gaim-encryption" = "gettext"; then \ /bin/sh `case ".././mkinstalldirs" in /*) echo
".././mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;;
esac` /usr/usc/gaim/1.3.0/share/gettext/po; \ .././install-sh -c -m 644 ./Makefile.in.in \

/usr/usc/gaim/1.3.0/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi
gmake[1]: Leaving directory
`/auto/src-02/common/usc/gaim/gaim-encryption-2.37/po'
Making install in intl
gmake[1]: Entering directory
`/auto/src-02/common/usc/gaim/gaim-encryption-2.37/intl'
gmake[1]: *** No rule to make target `../config.h',
needed by `intl-compat.o'. Stop.
gmake[1]: Leaving directory
`/auto/src-02/common/usc/gaim/gaim-encryption-2.37/intl'
gmake: *** [install-recursive] Error 1
[kbraunsc@mesa gaim-encryption-2.37]$

Discussion

  • Bill Tompkins

    Bill Tompkins - 2005-06-03
    • assigned_to: nobody --> obobo
     
  • Bill Tompkins

    Bill Tompkins - 2005-06-03

    Logged In: YES
    user_id=21203

    The step that is looking for config.h is in the "intl"
    directory, in a section of auto-generated code. For right now:
    1) remove the #include <config.h> from intl/intl-compat.c
    2) remove ../config.h from intl/Makefile.in (in the
    $(OBJECTS): line)

    I'll poke at the build scripts so that the next release
    won't have this problem.

    -Bill

     
  • Bill Tompkins

    Bill Tompkins - 2005-06-11
    • status: open --> pending-fixed
     
  • Bill Tompkins

    Bill Tompkins - 2005-06-11

    Logged In: YES
    user_id=21203

    2.38 should have all of those auto-generated files patched
    correctly.

    If it does not build, please reopen this bug.

    Thanks!

     
  • KCB

    KCB - 2005-06-11
    • status: pending-fixed --> open-fixed
     
  • KCB

    KCB - 2005-06-11

    Logged In: YES
    user_id=1284937

    obobo's solution was the right start, but not complete, I'm
    including what I did below for reference. Please make sure
    this is fixed in 2.38.

    remove ../config.h from intl/Makefile.in (in the
    $(OBJECTS): line)

    remove references to config.h in the following files:

    bindtextdom.c
    dcgettext.c
    dcigettext.c
    dcngettext.c
    dgettext.c
    dngettext.c
    explodename.c
    finddomain.c
    gettext.c
    intl-compat.c
    l10nflist.c
    loadmsgcat.c
    localcharset.c
    localealias.c
    ngettext.c
    plural.c
    plural.y
    textdomain.c

    # in plural.y change %expect 10 to %expect 7 to fix error

     
  • Mike

    Mike - 2005-06-21

    Logged In: YES
    user_id=1300510

    I have this same problem, on OSX. Using 2.36 I can just copy
    config.h from the gaim source directory (after a successful
    configure). On 2.37 and 2.38 this method (along with a
    symlink to gaim-encryption.h) will not work, unfortunately.

    If more details are required, I could post them.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.