From: "Alexander S. Belov" <asbel@sicex.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] kernel & libdb
Date: 21 Jun 2003 12:24:51 +0700
Message-ID: <1056173090.2368.131.camel@pc_asbel.office.sice.ru> (raw)
In-Reply-To: <1056169482.2374.121.camel@pc_asbel.office.sice.ru>
В Сбт, 21.06.2003, в 11:24, Alexander S. Belov пишет:
> Соотв. если исправить эту строчку в Makefile на
> AICASM_CFLAGS:= -I/usr/include -I. -ldb2
>
> и в spec'е добавить
>
> BuildRequires: coreutils libdb4.0-devel perl flex bin86 libdb2-devel
>
> ИМНО будет счастье или я что-то не понимаю...
Еще немного поглядел на это чудо:
Вот кусок из Makefile, где создается aicdb.h:
aicdb.h:
@if [ -e "/usr/include/db3/db_185.h" ]; then \
echo "#include <db3/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db2/db_185.h" ]; then \
echo "#include <db2/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db/db_185.h" ]; then \
echo "#include <db/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db_185.h" ]; then \
echo "#include <db_185.h>" > aicdb.h; \
else \
echo "*** Install db development libraries"; \
fi
Ну и соотв. если его изменить на
aicdb.h:
@if [ -e "/usr/include/db4/db_185.h" ]; then \
echo "#include <db4/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db3/db_185.h" ]; then \
echo "#include <db3/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db2/db_185.h" ]; then \
echo "#include <db2/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db/db_185.h" ]; then \
echo "#include <db/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db_185.h" ]; then \
echo "#include <db_185.h>" > aicdb.h; \
else \
echo "*** Install db development libraries"; \
fi
, т.е. добавить проверку на наличие /usr/include/db4/db_185.h, то все
будет ОК, но это untested.
next prev parent reply other threads:[~2003-06-21 5:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-21 4:24 Alexander S. Belov
2003-06-21 5:24 ` Alexander S. Belov [this message]
2003-06-21 7:26 ` Alexey V. Lubimov
2003-06-21 9:29 ` Albert R. Valiev
2003-06-21 10:22 ` Alexander S. Belov
2003-06-21 10:37 ` Alexey V. Lubimov
2003-06-24 10:29 ` [devel] " Sergey Vlasov
2003-06-24 21:52 ` [devel] " Диконов Вячеслав
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1056173090.2368.131.camel@pc_asbel.office.sice.ru \
--to=asbel@sicex.ru \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git