NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Plone Installer nfg on NetBSD?



-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256



Eric d'Halibut <eric.halibut%gmail.com@localhost> schrieb:

>I have just run the install of Plone using their 4.07 installer,
>available here:
>
>http://plone.org/products (Click on the penguin; I know, I know...)

>Run the same way on my NetBSD box, it fails due to not installing
>easy_install during its creation of a python instance for the plone
>instance being created.
>
>Linux ---- > easy_install is created
>NetBSD --> easy_install is not created
>
>I made sure to first delete my pkgsrc-based copy of setuptools, the
>python package containing easy_install.
>
>Anybody worked with this?

Yes, but the last install i did on NetBSD 5 was a Plone 3.x one which worked
(used --target /var/plone)


1.)
I'm just tested Plone 4 (current) installer now and get the same error.
Digging the install.log broughts out that _socket module is not there.

_socket could not be build because of some lib incompatibilities or
inavailable libs (around _ssl so far)

- --- snip ---
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c: In function 'makesockaddr':
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:1080: error: 'struct sockaddr_bt' has no member$
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c: In function 'getsockaddrarg':
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:1354: error: 'struct sockaddr_bt' has no member$
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c: In function 'init_socket':
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:4590: error: 'SOL_HCI' undeclared (first use in$
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:4590: error: (Each undeclared identifier is rep$
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:4590: error: for each function it appears in.)
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:4591: error: 'HCI_FILTER' undeclared (first use$
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:4593: error: 'HCI_TIME_STAMP' undeclared (first$
plone/Plone-4.0.7-UnifiedInstaller/packages/Python-2.6.6/Modules/socketmodule
.c:4594: error: 'HCI_DATA_DIR' undeclared (first u$
ing '_ssl' extension
- --- snap ---


This let assumes that any socket andor ssl lib is not there nor working in
NetBSD or the Python build configuration from the plone package is not
suitable for NetBSD.

HCI_ stuff sounds like bluetooth stuff not available / installed on my NetBSD
(and i did not want any bluetooth stuff there as this are servers. So i try
now to play with Python sources and configure options to avoid this error.

2.)
Tried to build with NetBSD's python2.6 ( --with-python) - in that case
zc.buildout is not available (not shure if and how i can officially build /
get /install zc.buildout for NetBSD pkgsrc python2.6 the right way.

3.)
But a crazy thing is that i get a (seems to work) Plone install if i first run
install.sh with --with-python=/usr/pkg/bin/python2.6
, this fails, then i removed the full dirs of buildout-cache and plone install
(just leaving the created Python-2.6 dir), started install.sh without
--with-python again and voila!

Not shure how frickeled this installation is not (would not use it for
production so far) but it seems there are solutions to fix the installer
system.


Cheers,


Niels.
- --
Niels Dettenbach
Syndicat.com IT&Internet
http://www.syndicat.com
Zope Hosting and Development, ZMS and more... -----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8
iIEEAREIAEEFAk4Fi/Q6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu
dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDWQgAJ0VdWG/FZJB
v8DLvSvYGXqvuVjrawCeIYNtsbXi1yTUPAjeDMxHj3snGu0= =EiOf -----END PGP
SIGNATURE-----


Home | Main Index | Thread Index | Old Index