From: Hihin Ruslan <ruslandh@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] mgetty x86_64
Date: Sat, 13 Jan 2007 22:00:37 +0300
Message-ID: <200701132200.48613@ruslandh> (raw)
In-Reply-To: <45A91673.5030202@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1796 bytes --]
Здравствуйте Anton Gorlov
В сообщении от Saturday 13 January 2007 20:27 Anton Gorlov написал(a):
> Денис Смирнов пишет:
> > А mgetty на x86_64 когда-нибудь у нас будет? Без него какого-то
> > censored
> >
> > hylafax не собирается.
>
> былб под руками 64 битная среда..посомтрел бы. Новый комп будет
> через
> неджелю.а вот с 64 битным сизифом дела очень плохо. Нету его у меня.
Всвязи со своим переездом на Athlon64 и соответственно переездом на
x86_64 архитектуру попытался собрать несколько пакетов.
Заметил, что основная причина несборки построении пакетов - это то, что
в x86_64 %_libdir, это /usr/lib64, а в i586 - /usr/lib, несмотря на это
при сборке пакетов (makefele и т.п.) файлы попадают в /usr/lib, а
не /usr/lib64. В частности по mgetty :
rpm -bE выдаёт :
%build
make
make -C voice
pushd frontends/X11/viewfax-2.5
xmkmf
make HELPDIR=/usr/lib64/mgetty+sendfax CONFDIR=/etc/mgetty+sendfax
depend
make CDEBUGFLAGS="$RPM_OPT_FLAGS" HELPDIR=/usr/lib64/mgetty+sendfax
CONFDIR=/etc/mgetty+sendfax
popd
.....
и в файлах :
...
%files sendfax
%dir /usr/lib64/mgetty+sendfax
/usr/lib64/mgetty+sendfax/faxq-helper
/usr/lib64/mgetty+sendfax/*.pbm
....
А реально получается :
find . | grep lib
./lib
./lib/mgetty+sendfax
./lib/mgetty+sendfax/faxq-helper
./lib/mgetty+sendfax/cour25n.pbm
./lib/mgetty+sendfax/cour25.pbm
То-же самое и у cdrecord (утром для себя собрал).
Тут надо что-то делать на уровне rpm и полиси сборки
Например :
%_libdir -назначать независимо от архитектуры (/usr/lib),
а какой-нибудь %_libdir_arch - в зависимости от архитектуры:
или /usr/lib, или /usr/lib64
Другой варинт - обратный %_libdir - зависим от архитектуры,
а %_comm_libdir - независимо от архитектуры.
PS первый вариант менее трудоёмкий для пересборки.
--
С уважением Xихин Руслан
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-01-13 19:00 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-13 12:46 Денис Смирнов
2007-01-13 17:27 ` Anton Gorlov
2007-01-13 19:00 ` Hihin Ruslan [this message]
2007-01-13 19:27 ` Dmitry V. Levin
2007-01-13 19:56 ` Hihin Ruslan
2007-01-13 20:00 ` Dmitry V. Levin
2007-01-13 21:05 ` Sergey Y. Afonin
2007-01-13 21:21 ` Dmitry V. Levin
2007-01-13 22:02 ` Sergey Y. Afonin
2007-01-13 22:26 ` Alexey I. Froloff
2007-01-21 11:02 ` [devel] /lib(64)?/mkinitrd Sergey Vlasov
2007-01-21 11:46 ` Dmitry V. Levin
2007-01-13 21:33 ` [devel] mgetty x86_64 Hihin Ruslan
2007-01-13 21:45 ` Anton Gorlov
2007-01-13 22:28 ` Alexey I. Froloff
2007-01-13 22:38 ` Eugene Ostapets
2007-01-13 22:54 ` Pavlov Konstantin
2007-01-13 23:23 ` [devel] rpm-build-compat Dmitry V. Levin
2007-01-13 23:32 ` Eugene Ostapets
2007-01-13 23:41 ` Dmitry V. Levin
2007-01-14 0:09 ` Eugene Ostapets
2007-01-14 0:34 ` Dmitry V. Levin
2007-01-14 1:05 ` Vitaly Lipatov
2007-01-14 1:29 ` Dmitry V. Levin
2007-01-14 14:43 ` Vitaly Lipatov
2007-01-14 15:03 ` Dmitry V. Levin
2007-01-14 17:23 ` Sergey Y. Afonin
2007-01-14 17:36 ` Alexey I. Froloff
2007-01-14 17:38 ` Dmitry V. Levin
2007-02-04 21:28 ` [devel] [wiki] условное определение макросов Michael Shigorin
2007-02-05 22:50 ` Dmitry V. Levin
2007-01-14 10:28 ` [devel] rpm-build-compat Sergey Y. Afonin
2007-01-14 11:45 ` Dmitry V. Levin
2007-01-14 17:37 ` Sergey Y. Afonin
2007-01-14 17:29 ` Alexey I. Froloff
2007-01-13 20:03 ` [devel] mgetty x86_64 Eugene Ostapets
2007-01-13 20:22 ` Dmitry V. Levin
2007-01-13 21:51 ` Eugene Ostapets
2007-01-13 19:29 ` Konstantin A. Lepikhov
2007-01-13 19:32 ` [devel] cdrecord Dmitry V. Levin
2007-01-13 19:57 ` Hihin Ruslan
2007-01-14 21:06 ` Konstantin A. Lepikhov
2007-01-13 19:35 ` [devel] mgetty x86_64 Anton Gorlov
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=200701132200.48613@ruslandh \
--to=ruslandh@altlinux.ru \
--cc=devel@lists.altlinux.org \
/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