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


  Search this Thread
Old 07-27-2014, 08:13 AM   #1
LQ Newbie
Registered: Jul 2014
Location: Berlin
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
[solved] Slackware 14.1-64 problem with building msmtp package

Hy there :-)

A few days ago I began using Slackware and today I had the first problem with building a package with a slackbuild, but also without the slackbuild just from source-package.

The package I'd like to install is msmtp and the building process runs a while and suddenly there appears the following stuff on my screen :

make  all-recursive
make[3]: Entering directory `/tmp/SBo/msmtp-1.4.20/gnulib'
make[4]: Entering directory `/tmp/SBo/msmtp-1.4.20/gnulib'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl   -O2 -fPIC -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
mv -f .deps/base64.Tpo .deps/base64.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl   -O2 -fPIC -MT c-ctype.o -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.o c-ctype.c
mv -f .deps/c-ctype.Tpo .deps/c-ctype.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl   -O2 -fPIC -MT close-hook.o -MD -MP -MF .deps/close-hook.Tpo -c -o close-hook.o close-hook.c
mv -f .deps/close-hook.Tpo .deps/close-hook.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl   -O2 -fPIC -MT sockets.o -MD -MP -MF .deps/sockets.Tpo -c -o sockets.o sockets.c
mv -f .deps/sockets.Tpo .deps/sockets.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl   -O2 -fPIC -MT xvasprintf.o -MD -MP -MF .deps/xvasprintf.Tpo -c -o xvasprintf.o xvasprintf.c
In file included from xvasprintf.c:24:0:
./stdio.h:397:1: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
make[4]: *** [xvasprintf.o] Error 1
make[4]: Leaving directory `/tmp/SBo/msmtp-1.4.20/gnulib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/msmtp-1.4.20/gnulib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/msmtp-1.4.20/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/msmtp-1.4.20'
make: *** [all] Error 2
It says that gets shouldn't be used and fgets should be used instead, but I didn't really know how I could tell the programm what to do, so I tried at first to give it as argument to the slackbuild, but that didn't work. Then I opened the slackbuild for editing typed --fget after the make command, saved the file und ran it again and again not successful. Then I opened the /usr/include/stdio.h file and yeah I found the entry gets, but I didn't changed anything on that file. So I opened the xvasprintf.c
file and looked around, because in the errormessage there this file is mentioned, but also there I didn't find anything to do and closed it.

Is there anybody who knows what to do and could help me, please ?



Last edited by rebeka_catalina; 07-27-2014 at 08:37 AM.
Old 07-27-2014, 08:24 AM   #2
Registered: Dec 2010
Distribution: Slackware64
Posts: 90

Rep: Reputation: 14
In the version is 1.4.31.
I compiled(slackware64-current)version 1.4.32 and no have problem.

Last edited by kkady32; 07-27-2014 at 08:26 AM.
Old 07-27-2014, 08:31 AM   #3
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,727

Rep: Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098
hi rebeka, have you done a full installation? it seems to me you are missing some packages...
to verify it, if you have setup a mirror in /etc/slackpkg/mirrors, launch (as root)
slackpkg update
slackpkg install slackware64
Old 07-27-2014, 08:36 AM   #4
LQ Newbie
Registered: Jul 2014
Location: Berlin
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes I did the full installation.

Originally Posted by kkady32 View Post
In the version is 1.4.31.
I compiled(slackware64-current)version 1.4.32 and no have problem.
That's it Problem solved.
I got it from github now and finally could install it :-)

Thank you, now I can configure my mutt.

Thanks again :-)


build, compile, msmtp, package, slackbuild

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] building brasero package fails on Slackware 14.1 slacksam Slackware 4 11-28-2013 12:25 PM
[SOLVED] How to make mutt to listen to smtp ip without using msmtp package Iyyappan Linux - Server 2 01-13-2013 07:33 AM
Building a Slackware package... Alexvader Slackware 3 10-21-2009 04:00 PM
problem building evms package via src2pg matters Slackware 7 06-15-2007 04:57 AM
Package building problem Thilips Red Hat 1 02-08-2007 09:57 AM

All times are GMT -5. The time now is 05:39 AM.

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