Re: Python 3.2.2

2011-10-29 Thread Andrew Benton
On Fri, 28 Oct 2011 21:24:11 -0500
Bruce Dubbs bruce.du...@gmail.com wrote:
 Are there any naming conflicts between python3 and python2?  It looks 
 like I have:
 
 /usr/bin:
 
 pydoc3 python3python3.2  python3.2m
 pydoc3.2   python3-config python3.2-config   python3.2m-config
 
 /usr/lib:
 
 /usr/lib/libpython3.2m.so  /usr/lib/libpython3.so
 /usr/lib/libpython3.2m.so.1.0  /usr/lib/libstdc++.so.6.0.16-gdb.py
 
 /usr/lib/python3.2:
 ...
 
 Are there any gotchas in building side-by-side?  What build instructions 
 do you use in each case?

I install pthon 2 and python 3 side by side. I'm not aware of any
conflicts. As you've shown above, python 3 doesn't
install /usr/bin/python, if you want it with python 3 you have to make
the symlink yourself.

As for build instructions they're both:

./configure --prefix=/usr --enable-shared
make
make install

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: Python 3.2.2

2011-10-29 Thread Bruce Dubbs
Andrew Benton wrote:
 On Fri, 28 Oct 2011 21:24:11 -0500
 Bruce Dubbs bruce.du...@gmail.com wrote:

 Are there any gotchas in building side-by-side?  What build instructions 
 do you use in each case?
 
 I install pthon 2 and python 3 side by side. I'm not aware of any
 conflicts. As you've shown above, python 3 doesn't
 install /usr/bin/python, if you want it with python 3 you have to make
 the symlink yourself.
 
 As for build instructions they're both:
 
 ./configure --prefix=/usr --enable-shared
 make
 make install

OK, I'll add python2.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Linux_PAM

2011-10-29 Thread Wayne Blaszczyk
The Linux-PAM build fails for me, most likely due to the Bekkeley DB
upgrade to 5.2.26.
I get the following error:

.libs/pam_userdb.o: In function `user_lookup':
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:159: undefined
reference to `__db_ndbm_open'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:192: undefined
reference to `__db_ndbm_fetch'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:263: undefined
reference to `__db_ndbm_close'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:263: undefined
reference to `__db_ndbm_close'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:283: undefined
reference to `__db_ndbm_firstkey'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:285: undefined
reference to `__db_ndbm_nextkey'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:169: undefined
reference to `__db_ndbm_firstkey'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:171: undefined
reference to `__db_ndbm_fetch'
make[3]: Leaving directory `/sources/Linux-PAM-1.1.3/modules/pam_userdb'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:170: undefined
reference to `__db_ndbm_nextkey'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:310: undefined
reference to `__db_ndbm_close'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:315: undefined
reference to `__db_ndbm_close'
/sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:315: undefined
reference to `__db_ndbm_close'
collect2: ld returned 1 exit status
make[3]: *** [pam_userdb.la] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/Linux-PAM-1.1.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/Linux-PAM-1.1.3'
make: *** [all] Error 2


I'll have a look at it a bit closer later on today unless some has some
ideas?

Wayne.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: Linux-PAM and Bekkeley DB

2011-10-29 Thread Wayne Blaszczyk
On 30/10/11 09:43, Jeremy Huntwork wrote:
 On Oct 29, 2011, at 5:52 PM, Wayne Blaszczyk wrote:
 
 The Linux-PAM build fails for me, most likely due to the Bekkeley DB
 upgrade to 5.2.26.
 I get the following error:

 .libs/pam_userdb.o: In function `user_lookup':
 /sources/Linux-PAM-1.1.3/modules/pam_userdb/pam_userdb.c:159: undefined
 reference to `__db_ndbm_open'
 
 
 Try building db with --enable-dbm.
 
 JH
 
Thanks, that worked. As mentioned by DJ in the previous post, I think
this should be included in the standard build.
Regards,
Wayne.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page