mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] QDBM cross compilation


From: Bishwa Shrestha
Subject: [Mingw-cross-env-list] QDBM cross compilation
Date: Mon, 07 May 2012 01:13:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Hi,

I would like to compile qdbm using mxe. I tried to create an .mk file - download and configure is okay, however, it cannot make:

here's the error I get:

cp: cannot stat `libqdbm.so.14': No such file or directory
cp: cannot stat `libqdbm.so': No such file or directory

I think there's an error during compilation, however, i couldn't figure out what it was as I'm a new to makefiles and cross compilation.
Any help is appreciated.

qdbm.mk:

# This file is part of MXE.
# See index.html for further information.

PKG             := qdbm
VERSION         := 1.8.78
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := 8c2ab938c2dad8067c29b0aa93efc6389f0e7076
$(PKG)_SUBDIR   := qdbm-$($(PKG)_VERSION)
$(PKG)_FILE     := qdbm-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://fallabs.com/qdbm/qdbm-1.8.78.tar.gz
$(PKG)_DEPS     := gcc

define $(PKG)_UPDATE
    wget -q -O- 'http://fallabs.com/qdbm/' | \
    grep 'qdbm-' | \
    $(SED) -n 's,.*qdbm-\([0-9][^>]*\)\.tar.*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(1)/' && ./configure \
        --host='$(TARGET)' \
        --prefix='$(PREFIX)/$(TARGET)' \
        CONFIG_SHELL=$(SHELL)
    $(MAKE) -C '$(1)/' -j '$(JOBS)' install
endef




Thanks for your efforts.
-bishwa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]