[blfs-book] [BLFS Trac] #4693: serf 1.3.4

BLFS Trac trac at linuxfromscratch.org
Sat Feb 15 10:01:13 PST 2014


#4693: serf 1.3.4
-------------------------+--------------------------
 Reporter:  Krejzi       |       Owner:  blfs-book@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  current
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------------

Comment (by fo):

 I am having a problem:


 {{{
 $ scons PREFIX=/usr
 scons: Reading SConscript files ...
 TypeError: get() takes at most 3 arguments (4 given):
   File "/home/fernando/tmp/paco-
 build-2014.02.15-14h48m38s/serf-1.3.4/SConstruct", line 385:
     env.get('GSSAPI_LIBS', '', '')),
 }}}

 Line 385 is the last one in the following

 {{{
 pkgconfig = env.Textfile('serf-%d.pc' % (MAJOR,),
                          env.File('build/serf.pc.in'),
                          SUBST_DICT = {
                            '@MAJOR@': str(MAJOR),
                            '@PREFIX@': '$PREFIX',
                            '@LIBDIR@': '$LIBDIR',
                            '@INCLUDE_SUBDIR@': 'serf-%d' % (MAJOR,),
                            '@VERSION@': '%d.%d.%d' % (MAJOR, MINOR,
 PATCH),
                            '@LIBS@': '%s %s %s -lz' % (apu_libs, apr_libs,
 env.get('GSSAPI_LIBS', '', '')),
                            })
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4693#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list