bugGNU nano - Bugs: bug #44630, configure error on unusual setup

 
 

bug #44630: configure error on unusual setup

Submitted by:  None
Submitted on:  Wed 25 Mar 2015 06:44:53 PM UTC  
 
Severity: 3 - NormalStatus: Need Info
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 05 Nov 2015 04:47:53 PM UTC, comment #8:

your dev system does not contain all the required packages. you need to install the pkg-config dev package which includes pkg.m4. otherwise the macro is undefined and it will be written verbatim to configure creating a syntax error.

not a bug in nano.

Mike Frysinger <vapier>
Project Member
Wed 29 Apr 2015 08:18:57 AM UTC, comment #7:

For lack of feedback... closing.

Benno Schulenberg <bens>
Project Administrator
Sat 28 Mar 2015 03:12:24 PM UTC, comment #6:

It seems you have an unusual setup and that autoconf cannot find the pkg-config macros (pkg.m4).

How does autogen.sh fare when you add somewhere in configure.ac the line 'm4_pattern_forbid([PKG_CHECK_MODULES])'? And can you get past that when you tell it where to find pkg.m4 by exporting PKG_CONFIG_PATH?

Benno Schulenberg <bens>
Project Administrator
Thu 26 Mar 2015 08:47:43 PM UTC, comment #5:

sysadm@giulietta $ ./autogen.sh
Copying file ABOUT-NLS
Copying file config.rpath
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
/opt/csw/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/opt/csw/share/aclocal/imlib.m4:9: run info Automake 'Extending aclocal'
/opt/csw/share/aclocal/imlib.m4:9: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:26: installing './install-sh'
configure.ac:26: installing './missing'
Makefile.am: installing './INSTALL'
doc/texinfo/Makefile.am:1: installing 'doc/texinfo/texinfo.tex'
src/Makefile.am: installing './depcomp'
s

Anonymous
Thu 26 Mar 2015 08:11:55 PM UTC, comment #4:

What's the full output of ./autogen.sh in a brand new SVN checkout?

Benno Schulenberg <bens>
Project Administrator
Wed 25 Mar 2015 09:01:52 PM UTC, comment #3:

if eval "test x$CURSES_LIB_NAME = x"; then
if test "x$enable_utf8" != xno; then
PKG_CHECK_MODULES(NCURSESW, ncursesw,
CURSES_LIB=$NCURSESW_LIBS
CPPFLAGS="$NCURSESW_CFLAGS $CPPFLAGS"
CURSES_LIB_NAME=ncursesw
CURSES_LIB_WIDE=yes
, :)
else
PKG_CHECK_MODULES(NCURSES, ncurses,
CURSES_LIB=$NCURSES_LIBS
CPPFLAGS="$NCURSES_CFLAGS $CPPFLAGS"
CURSES_LIB_NAME=ncurses
, :)
fi
fi

Anonymous
Wed 25 Mar 2015 08:53:22 PM UTC, comment #2:

Hi

Yes, svn co svn://svn.savannah.gnu.org/nano/trunk

sysadm@giulietta $ autoconf --version
autoconf (GNU Autoconf) 2.69

79 ./autogen.sh
80 ./configure --prefix=/opt/tools/

Anonymous
Wed 25 Mar 2015 08:03:38 PM UTC, comment #1:

How did you create 'configure'? Because the 'configure' in the 2.4.0 source tarball does not contain anything with NCURSESW on or near line 8151. Are you building from an SVN checkout? Maybe then your autotools are too new or too old?

Benno Schulenberg <bens>
Project Administrator
Wed 25 Mar 2015 06:44:53 PM UTC, original submission:

checking for wctomb... yes
checking for wcwidth... yes
checking whether C compiler accepts -Wall... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... yes
checking for getopt_long... yes
./configure: line 8151: syntax error near unexpected token `NCURSESW,'
./configure: line 8151: ` PKG_CHECK_MODULES(NCURSESW, ncursesw,'
s

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vapier (Posted a comment)
  • -unavailable- added by bens (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Apr 2015 08:18:57 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 02 Apr 2015 08:17:56 AM UTCbensStatusNone=>Need Info
      Summaryconfigure error=>configure error on unusual setup

    Back to the top


    Powered by Savane 3.1-cleanup1