* [ptxdist] Error when compiling a custom library with a personal rule file
@ 2012-05-23 15:16 barhoumi mohtadi
2012-05-23 15:50 ` Juergen Beisert
0 siblings, 1 reply; 2+ messages in thread
From: barhoumi mohtadi @ 2012-05-23 15:16 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 672 bytes --]
Guten Tag!
Hope the ptxdist team is having fun at the Linux Tag !
I hadn't the time to correct the rule files of libphidget monday, i did it today... i had the courage to test it : i can see that the problem is compiling with the correct options (using avahi) when selecting them : but on the install target just after installing the first library , i get this!
install link:
src=libphidget21.so.0.0.0
dst=/usr/lib/libphidget21.so.0
*** Error: CONTROL/control is missing field Description
ipkg-build: Please fix the above errors and try again.
failed
Anyone has an idea about what's bugging with ipkg?
Thanks!
Mohtadi
[-- Attachment #1.2: Type: text/html, Size: 957 bytes --]
[-- Attachment #2: libphidget.make --]
[-- Type: application/octet-stream, Size: 3277 bytes --]
# -*-makefile-*-
#
# Copyright (C) 2012 by Mohtadi Barhoumi <mohtadi.barhoumi@univ-reims.fr>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBPHIDGET) += libphidget
#
# Paths and names
#
LIBPHIDGET_VERSION := 2.1.8.20120514
LIBPHIDGET_MD5 :=
LIBPHIDGET := libphidget_$(LIBPHIDGET_VERSION)
LIBPHIDGET_SUFFIX := tar.gz
LIBPHIDGET_URL := http://www.phidgets.com/downloads/libraries/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_SOURCE := $(SRCDIR)/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_DIR := $(BUILDDIR)/$(LIBPHIDGET)
LIBPHIDGET_LICENSE := unknown
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
#$(LIBPHIDGET_SOURCE):
# @$(call targetinfo)
# @$(call get, LIBPHIDGET)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#LIBPHIDGET_CONF_ENV := $(CROSS_ENV)
#
# autoconf
#
LIBPHIDGET_CONF_TOOL := autoconf
LIBPHIDGET_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--$(call ptx/endis, PTXCONF_LIBPHIDGET_OLDLIBUSB)-oldlibusb \
--$(call ptx/endis, PTXCONF_LIBPHIDGET_ZEROCONF)-zeroconf \
--$(call ptx/endis, PTXCONF_LIBPHIDGET_ZEROCONF_LOOKUP)-zeroconf-lookup \
--$(call ptx/endis, PTXCONF_LIBPHIDGET_DEBUG)-debug \
--$(call ptx/endis, PTXCONF_LIBPHIDGET_JNI)-jni
#$(STATEDIR)/libphidget.prepare:
# @$(call targetinfo)
# @$(call clean, $(LIBPHIDGET_DIR)/config.cache)
# cd $(LIBPHIDGET_DIR) && \
# $(LIBPHIDGET_PATH) $(LIBPHIDGET_ENV) \
# ./configure $(LIBPHIDGET_CONF_OPT)
# @$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
#$(STATEDIR)/libphidget.compile:
# @$(call targetinfo)
# @$(call world/compile, LIBPHIDGET)
# @$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
#$(STATEDIR)/libphidget.install:
# @$(call targetinfo)
# @$(call world/install, LIBPHIDGET)
# @$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/libphidget.targetinstall:
@$(call targetinfo)
@$(call install_init, libphidget)
@$(call install_fixup, libphidget,PRIORITY,optional)
@$(call install_fixup, libphidget,SECTION,base)
@$(call install_fixup, libphidget,AUTHOR,"Mohtadi Barhoumi <mohtadi.barhoumi@univ-reims.fr>")
@$(call install_fixup, libphidget,DESCRIPTION,)
@$(call install_lib, libphidget, 0, 0, 0644, libphidget21)
@$(call install_finish, libphidget)
@$(call touch)
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
#$(STATEDIR)/libphidget.clean:
# @$(call targetinfo)
# @$(call clean_pkg, LIBPHIDGET)
# vim: syntax=make
[-- Attachment #3: libphidget.in --]
[-- Type: application/octet-stream, Size: 757 bytes --]
## SECTION=system_libraries
config LIBPHIDGET
tristate
select LIBUSB_COMPAT if LIBPHIDGET_OLDLIBUSB
select LIBUSB if !LIBPHIDGET_OLDLIBUSB
select AVAHI if LIBPHIDGET_ZEROCONF || LIBPHIDGET_ZEROCONF_LOOKUP
select LIBPTHREAD_STUBS
select GLIBC_C
prompt "libphidget"
help
Phidgets are a set of plug and play building blocks for low
cost USB sensing and control from your PC.
if LIBPHIDGET
config LIBPHIDGET_JNI
bool
prompt "Compile in Java support"
config LIBPHIDGET_OLDLIBUSB
bool
prompt "Enable USB support"
config LIBPHIDGET_ZEROCONF
bool
prompt "Enable Zeroconf Support"
config LIBPHIDGET_ZEROCONF_LOOKUP
bool
prompt "Enable Zeroconf lookup"
config LIBPHIDGET_DEBUG
bool
prompt "make the program more noisy"
endif
[-- Attachment #4: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] Error when compiling a custom library with a personal rule file
2012-05-23 15:16 [ptxdist] Error when compiling a custom library with a personal rule file barhoumi mohtadi
@ 2012-05-23 15:50 ` Juergen Beisert
0 siblings, 0 replies; 2+ messages in thread
From: Juergen Beisert @ 2012-05-23 15:50 UTC (permalink / raw)
To: ptxdist; +Cc: barhoumi mohtadi
Hi mohtadi,
barhoumi mohtadi wrote:
> Hope the ptxdist team is having fun at the Linux Tag !
Yes, many fun with the (not working) internet connection. :(
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-23 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23 15:16 [ptxdist] Error when compiling a custom library with a personal rule file barhoumi mohtadi
2012-05-23 15:50 ` Juergen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox