|
From: <ast...@el...> - 2007-03-05 23:41:15
|
ast...@el... said:
> Also, the PostgreSQL version being used, 8.1.4 , doesn't seem to be
> available at the download sites anymore. Closest match is 8.1.7 which
> seems to compile alright.
Okay, seems like I am a liar. Not only must the version number be bumped
up, a change needs to be made to the asterisk package asterisk.mk
the original line for libpq support is the following;
$(ASTERISK_DIR)/.configured: $(ASTERISK_DIR)/.source
ifeq ($(strip $(BR2_PACKAGE_ASTERISK_LIBPQ_CUSTOM)),y)
cp package/asterisk/custom/*.c $(ASTERISK_DIR)/apps/
toolchain/patch-kernel.sh package/asterisk/custom/\*.patch
which should be changed to;
$(ASTERISK_DIR)/.configured: $(ASTERISK_DIR)/.source
ifeq ($(strip $(BR2_PACKAGE_ASTERISK_LIBPQ_CUSTOM)),y)
toolchain/patch-kernel.sh $(ASTERISK_DIR) package/asterisk/custom/
asterisk\custom\*.patch
Seems it was choking on the copy of *.c (which seems unnecessary anyways
because there are no c files?), claiming it's a directory, then the search
for the patch file was going bad due to a filepath issue.
This is applicable to both 0.4 and trunk
|