ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Kuprin <ru_classic@gts.lg.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Статическая сборка Midnight Commander
Date: Wed, 21 Apr 2004 21:30:08 +0300
Message-ID: <200404212130.09109.ru_classic@gts.lg.ua> (raw)
In-Reply-To: <40862C3A.3040909@l14.ru>

Добрый вечер, Алексей.

On Wednesday 21 April 2004 11:09, Алексей Любимов wrote:
> А зачем вам это (если не секрет)?

Не секрет. Настраиваю класс терминалов под Linux (LTSP4). Хочу добавить для 
shell-mode Midnight Commander, но малой кровью не получается.

> LD_LIBRARY_PATH= mc не проходит?

Я использовал переменную LDFLAGS: 

export CFLAGS="-march=i386"
export LDFLAGS="-static"
./configure
make

Получаю

...
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -march=i386 -Wall  
-static -o mc  achown.o background.o boxes.o chmod.o chown.o cmd.o color.o 
command.o complete.o cons.handler.o dialog.o dir.o dlg.o ext.o file.o 
filegui.o filenot.o fileopctx.o find.o findme.o fsusage.o help.o hotlist.o 
info.o key.o keyxdef.o layout.o learn.o listmode.o main.o menu.o mountlist.o 
mouse.o option.o panelize.o popt.o poptconfig.o popthelp.o poptparse.o 
profile.o regex.o rxvt.o screen.o setup.o slint.o subshell.o terms.o text.o 
textconf.o tree.o treestore.o user.o util.o utilunix.o view.o widget.o win.o 
wtools.o ../edit/libedit.a ../slang/libmcslang.a ../vfs/libvfs-mc.a  
-lglib-2.0   -L/usr/X11R6/lib  -lX11
/usr/bin/ld: cannot find -lglib-2.0
...

Сборка без LDFLAGS="-static" проходит нормально. Кто-нибудь просвятит меня, 
что я делаю не так?

--
WBR, Alexander Kuprin

  reply	other threads:[~2004-04-21 18:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-20 21:17 Alexander Kuprin
2004-04-21  8:09 ` Алексей Любимов
2004-04-21 18:30   ` Alexander Kuprin [this message]
2004-04-22  6:39     ` Epiphanov Sergei
2004-04-22  8:30       ` Alexander Kuprin
2004-04-22  9:02         ` Epiphanov Sergei
2004-04-22  9:31         ` Alexey I. Froloff
2004-04-22  8:37       ` Dmitry V. Levin

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=200404212130.09109.ru_classic@gts.lg.ua \
    --to=ru_classic@gts.lg.ua \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git