LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 03-09-2014, 09:28 AM   #1
ewlabonte
Member
 
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127

Rep: Reputation: 15
Problem rebuilding alpine package.


The alpine that comes with slackware 14.1 does not have passfile support. You have to enter your password every time you open alpine. My email password is long and I've never tried to memorize it. My computer is physically secure so there are no security problems with keeping the password in a file on my hard drive. The fix is relatively simple. I took the source from /n on the dvd and added --with-passfile=<filename> in alpine.Slackbuild and then upgradepkg the result. I've done this before with no problems. This time the build halted with an error that I don't know how to fix. The weird thing is that this is the same package that I have installed so it should build cleanly. Here's the end of the build:

make[4]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/alpine'
make[3]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/alpine'
make[2]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/alpine'
Making all in web/src/alpined.d
make[2]: Entering directory `/home/ewl/Desktop/alpine/alpine-2.11/web/src/alpined.d'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../incl
ude -I../../../include -I/usr/include -g -pthread -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tp
o -c -o wpcomm.lo wpcomm.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/incl
ude -g -pthread -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tpo -c wpcomm.c -fPIC -DPIC -o .libs
/wpcomm.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/incl
ude -g -pthread -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tpo -c wpcomm.c -o wpcomm.o >/dev/nul
l 2>&1
mv -f .deps/wpcomm.Tpo .deps/wpcomm.Plo
/bin/sh ../../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -pthread -g -O2 -rpath '/home/ewl
/Desktop/alpine/alpine-2.11/web/src/alpined.d/../../lib' -version-info 1:0:0 -L/usr/lib -o libwpco
mm.la -rpath /home/ewl/Desktop/alpine/alpine-2.11/web/src/alpined.d/../../lib wpcomm.lo -ltcl -lcr
ypto -lssl -lldap -lncurses -llber -lssl -lcrypto
libtool: link: gcc -std=gnu99 -shared .libs/wpcomm.o -L/usr/lib -ltcl /usr/lib64/libldap.so -L/u
sr/lib64 /usr/lib64/libsasl2.so -ldl -lncurses /usr/lib64/liblber.so -lresolv -lssl -lcrypto -pthr
ead -pthread -Wl,-soname -Wl,libwpcomm.so.1 -o .libs/libwpcomm.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libwpcomm.so.1" && ln -s "libwpcomm.so.1.0.0" "libwpcomm.so.1"
)
libtool: link: (cd ".libs" && rm -f "libwpcomm.so" && ln -s "libwpcomm.so.1.0.0" "libwpcomm.so")
libtool: link: /usr/bin/ar cru .libs/libwpcomm.a wpcomm.o
libtool: link: ranlib .libs/libwpcomm.a
libtool: link: ( cd ".libs" && rm -f "libwpcomm.la" && ln -s "../libwpcomm.la" "libwpcomm.la" )
gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/include -g -pthread
-g -O2 -MT alpined.o -MD -MP -MF .deps/alpined.Tpo -c -o alpined.o alpined.c
alpined.c: In function ‘main’:
alpined.c:763:48: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_OK : peReturn(cs, "OK", interp->result); break;
^
alpined.c:764:53: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_ERROR : peReturn(cs, "ERROR", interp->result); break;
^
alpined.c:765:53: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_BREAK : peReturn(cs, "BREAK", interp->result); break;
^
alpined.c:766:54: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_RETURN : peReturn(cs, "RETURN", interp->result); break;
^
alpined.c: In function ‘peLoadConfig’:
alpined.c:10847:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
mail_parameters(NULL, SET_RSHTIMEOUT, (void *) rv);
^
alpined.c:10851:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
mail_parameters(NULL, SET_SSHTIMEOUT, (void *) rv);
^
alpined.c: In function ‘peRssFetch’:
alpined.c:16275:9: warning: implicit declaration of function ‘date_to_local_time_t’ [-Wimplicit-fun
ction-declaration]
theirdate = date_to_local_time_t(q);
^
make[2]: *** [alpined.o] Error 1
make[2]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/web/src/alpined.d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11'
make: *** [all] Error 2
 
Old 03-09-2014, 11:29 AM   #2
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 499

Rep: Reputation: 174Reputation: 174
Not sure if I can help you but I do use alpine daily so this caught my eye.

As a test I downloaded the alpine source folder from ftp.mirrorservice.org, edited the slackbuild to include:

--with-passfile=~/path/to/some/directory/.passfile

and ran it. It compiled fine and created the package in /tmp.

# ls -l /var/log/packages | grep tcl

gives me:

-rw-r--r-- 1 root root 17515 Jan 20 21:27 tcl-8.6.1-i486-1
-rw-r--r-- 1 root root 1616 Jan 20 21:27 tclx-8.4.1-i486-3

and I'm running -current, don't know if that makes a difference.

Last edited by rkfb; 03-10-2014 at 03:52 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Libtool problem when building 'fontconfig-2.9' package on Alpine Linux kraileth Linux - Software 1 04-25-2012 12:31 PM
slackware64 13.37 alpine.SlackBuild fails when trying to rebuild package haxwithaxe Slackware 21 10-04-2011 04:44 PM
Problem rebuilding a RAID 1 DarkSun4241 Linux - Hardware 2 09-18-2008 09:24 AM
Rebuilding a Slackware Package With Slackbuild Scripts Woodsman Slackware 11 10-14-2006 06:08 AM
rebuilding an Ubuntu package MacHamster Ubuntu 3 09-29-2006 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:29 PM.

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