Hi,

I'm trying to port the PyRRD package to openwrt. PyRRD is a wrapper for the rrdtool command line tool.

I'm using a very simple Makefile whose essential part is:

define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef

define Package/pyrrd/install
        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
        $(CP) \
            $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
            $(1)$(PYTHON_PKG_DIR)
endef

However at compilation time, I get the following error:

Traceback (most recent call last):
  File "./setup.py", line 1, in <module>
    from setuptools import setup
ImportError: No module named setuptools
make[3]: *** [/home/rriggio/src/wing/staging/kamikaze-trunk-28352/build_dir/target-i386_uClibc-0.9.32/PyRRD-0.1.0/.built] Error 1 make[3]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-28352/package/pyrrd'
make[2]: *** [package/pyrrd/compile] Error 2
make[2]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-28352' make[1]: *** [/home/rriggio/src/wing/staging/kamikaze-trunk-28352/staging_dir/target-i386_uClibc-0.9.32/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-28352'
make: *** [world] Error 2

The distribute package is compiled and installed, as a matter of fact another package (simplejson) is using itwithout problems.

Any hints?


--
--------------------------------------------------------
Roberto Riggio, Ph.D.
CREATE-NET
Network & Security Solutions for Pervasive Computing Systems (iNSPIRE)
Senior Researcher
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: roberto.rig...@create-net.org
Tel: (+39) 0461 408400 - interno/extension 708
Fax: (+39) 0461 421157
www.create-net.org/~rriggio
--------------------------------------------------------

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited according to
the Italian Law 196/2003 of the Legislature. If you received this in
error, please contact the sender and delete the material from any
computer.

Le informazioni contenute in questo messaggio di posta elettronica e nei
file allegati sono da considerarsi strettamente riservate. Il loro
utilizzo e' consentito esclusivamente al destinatario del messaggio, per
le finalita' indicate nel messaggio stesso. Qualora riceveste questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla cancellazione del
messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo,
od utilizzarlo per finalita' diverse, costituisce comportamento
contrario ai principi dettati dal D. Lgs. 196/2003.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to