LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2004, 09:12 AM   #1
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Rep: Reputation: 33
glade problems with autogen.sh


I am trying to run a ui constructed under glade.

When I run autogen.sh I get the following messages...

Code:
Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration
to look for an external libintl.
 
Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.
 
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.5 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
 
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
 
You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.
 
Press Return to acknowledge the previous five paragraphs.
Making ./aclocal.m4 writable ...
Running aclocal  -I macros ...
Running autoheader...
/usr/bin/autoheader-2.13: line 1: _snprintf, and to 0 if you dont.: command not found
/usr/bin/autoheader-2.13: line 4:
verbatim=: command not found
/usr/bin/autoheader-2.13: line 5: /bin: is a directory
/usr/bin/autoheader-2.13: line 1: feof_unlocked, and to 0 if you dont.: command not found
/usr/bin/autoheader-2.13: line 4:
verbatim=: command not found
/usr/bin/autoheader-2.13: line 5: /bin: is a directory
/usr/bin/autoheader-2.13: eval: line 119: unexpected EOF while looking for matching ``'
/usr/bin/autoheader-2.13: eval: line 153: syntax error: unexpected end of file
/usr/bin/autoheader-2.13: Symbol `ptrdiff_t' is not covered by /usr/share/autoconf/acconfig.h ./acconfig.h
**Error**: autoheader failed.
Anybody have any ideas what I need to get the program to run. Help will be greatly appreciated.

Tam.
 
Old 07-24-2004, 09:48 AM   #2
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Original Poster
Rep: Reputation: 33
okay anyone any idea how to perform the following and do I need the makevars in the same directory as the glade project.

Code:
Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.
 
Old 07-24-2004, 01:02 PM   #3
fr0zen
Member
 
Registered: Nov 2003
Location: 127.0.0.1
Distribution: xubuntu
Posts: 217

Rep: Reputation: 30
Hey,

May I ask that you run the following commands?

Code:
cat autogen.sh
autoheader --version
aclocal --version
automake --version
autoconf --version
Of course, please copy/paste the output into your reply.

Thanks,
 
Old 07-25-2004, 08:02 AM   #4
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Original Poster
Rep: Reputation: 33
hi fr0zen,
sorry its taken so long to get back to you, I have been offline since last night. I ran the following commands like you suggested, here are the results.

cat autogen.sh
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

PKG_NAME="the package."

(test -f $srcdir/configure.in) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level directory"
exit 1
}

. $srcdir/macros/autogen.sh

/* autoheader */
autoheader --version
Autoconf version 2.13

aclocal --version
aclocal (GNU automake) 1.4-p6

automake --version
automake (GNU automake) 1.4-p6

autoconf --version
Autoconf version 2.13

glade --version
Gnome Glade 0.6.4

As you can see I have also included the version of glade that came with linux. I see that there are newer versions of glade available. Think that this maybe the problem. I would like to hear what you think.

TamTam
 
Old 07-25-2004, 01:17 PM   #5
fr0zen
Member
 
Registered: Nov 2003
Location: 127.0.0.1
Distribution: xubuntu
Posts: 217

Rep: Reputation: 30
On the contrary, while it would be a good idea to upgrade glade, that is not what's at issue right now.

Code:
[root@alpha ~]# autoheader --version
autoheader (GNU Autoconf) 2.59
Written by Roland McGrath and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@alpha ~]# aclocal --version
aclocal (GNU automake) 1.8.5
Written by Tom Tromey <tromey@redhat.com>

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@alpha ~]# automake --version
automake (GNU automake) 1.8.5
Written by Tom Tromey <tromey@redhat.com>.

Copyright 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@alpha ~]# autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The purpose of autogen.sh is to update the configure, and Makefiles within the application. Autogen typically uses the above programs to process macros in the template files.

You appear to have... rather old versions of these programs. Major changes have been implemented in recent versions, which may explain the errors you are getting. That is, the scripts you are trying to update were made for newer versions, so, older versions cannot understand them.

However, while I still recommend upgrading, you may not even have to run that autogen.sh script. Rarely is that necessary, unless you grab something from CVS. If you've downloaded a source package, it should be just as simple as running the ./configure script.

Let me know how it goes.
 
Old 07-29-2004, 06:57 PM   #6
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Original Poster
Rep: Reputation: 33
hi frOzen

I updated the files as you suggested and I am still getting the same errors. I am just about to give up using glade. Any more suggestions?

Sorry it's taken so long to answer, been on the night shift here.

TamTam

Last edited by tamtam; 07-29-2004 at 07:02 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(ubuntu) Glade Problems blankdev Programming 4 12-26-2007 03:59 PM
Glade 2.5.0 and Perl-Glade-Two - a little help please Lake-end Programming 1 03-07-2005 04:47 AM
Problems of install Glade-2 in MDK10.1 frank28_nfls Mandriva 5 03-01-2005 02:19 PM
Help with GTK and Glade autogen gtkmike Programming 0 06-13-2004 04:21 PM
Glade autogen.sh acid_kewpie Programming 0 12-06-2001 08:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration