LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-31-2013, 02:04 PM   #1
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 485

Rep: Reputation: 79
Talking m4 need some love


I was messing with bison-3, tried to rebuild m4 and it failed:

Quote:
Making all in lib
make[2]: Entering directory `/tmp/m4-1.4.16/lib'
make all-am
make[3]: Entering directory `/tmp/m4-1.4.16/lib'
gcc -std=gnu99 -I. -O2 -fPIC -MT clean-temp.o -MD -MP -MF .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c
In file included from clean-temp.h:22:0,
from clean-temp.c:23:
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
make[3]: *** [clean-temp.o] Error 1
make[3]: Leaving directory `/tmp/m4-1.4.16/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/m4-1.4.16/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/m4-1.4.16'
make: ** [all] Erro 2
Looking at LFS, there are two observations:

Quote:
#Fix an incompatibility between m4-1.14.6 and Glibc-2.17:
sed -i -e '/gets is a/d' lib/stdio.in.h
and, if we need 'make check'

Quote:
#Fix a test program:
sed -i -e '41s/ENOENT/& || errno == EINVAL/' tests/test-readlink.h
Just adding the fix for newest glibc solved the error. Dropped bison-3 as gstreamer failed to build. Bison-2.7.1 seems to be ok.

Slackware64-current.
 
Old 07-31-2013, 02:58 PM   #2
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 225

Rep: Reputation: 52
Same thing here on Slack64-current (July 31 2013). Attached a diff for the SlackBuild.
Attached Files
File Type: txt m4-1.4.16-fix_gets_err_slackbuild.diff.txt (960 Bytes, 7 views)

Last edited by fskmh; 07-31-2013 at 03:04 PM.
 
Old 07-31-2013, 03:54 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 836

Rep: Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620
Was there a reason that m4 required a rebuild?
 
2 members found this post helpful.
Old 07-31-2013, 05:16 PM   #4
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 485

Original Poster
Rep: Reputation: 79
Not at all, Pat. I was trying to pinpoint my failed attempts to build gstreamer until I hit bison. The m4 failure was purely accidental. I got a new rig and bison3 came with a few packages, most media and codecs from another machine. Back to bison-2.7 and both gst 0.10.36 and 1.0.9 came without errors.
 
Old 09-29-2013, 03:59 AM   #5
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 485

Original Poster
Rep: Reputation: 79
Thumbs up

Quote:
Sun Sep 29 02:39:29 UTC 2013
...
d/m4-1.4.17-x86_64-1.txz: Upgraded.
...
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Love your neighbour as you love yourself. And choose your software accordingly LXer Syndicated Linux News 0 02-02-2012 04:00 PM
I Love You All :=) Hitboxx General 1 09-14-2008 11:07 AM
Is it love? AMMullan Linux - Software 2 12-08-2003 01:17 PM
I love linux, I love it ! SuseBoy General 5 07-17-2003 11:51 PM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration