ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] libtool_2.2 без фортрана
@ 2012-02-08 12:01 Ildar Mulyukov
  2012-02-08 12:34 ` [sisyphus] использование libtool без конфига Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Ildar Mulyukov @ 2012-02-08 12:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Прошу "помощи зала"

1. Установлен libtool_2.2 и gcc4.5
   Fortran НЕ установлен
2. Делаю нехитрые манипуляции:
	$ > 1.c
	$ libtool --mode=compile cc -c 1.c
/usr/bin/libtool-default: line 1835: x86_64-alt-linux-gfortran: command  
not found
libtool-default: compile: unable to infer tagged configuration
libtool-default: compile: specify a tag with `--tag'

Что это? :(
ARCH == x86_64
-- 
Ildar Mulyukov,
   free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar.mulyukov@gmail.com
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] использование libtool без конфига
  2012-02-08 12:01 [sisyphus] libtool_2.2 без фортрана Ildar Mulyukov
@ 2012-02-08 12:34 ` Dmitry V. Levin
  2012-02-09  7:49   ` Ildar Mulyukov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2012-02-08 12:34 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]

On Wed, Feb 08, 2012 at 06:01:15PM +0600, Ildar Mulyukov wrote:
> Прошу "помощи зала"
> 
> 1. Установлен libtool_2.2 и gcc4.5
>   Fortran НЕ установлен
> 2. Делаю нехитрые манипуляции:
> 	$ > 1.c
> 	$ libtool --mode=compile cc -c 1.c

Hint: libtool имеет смысл конфигурировать.  Это, вообще говоря, не
обязательно, но в таком случае надо либо использовать --tag, либо
использовать в точности такой же compiler, накоторый сконфигурирован
libtool (см. конец вывода libtool --help).

> /usr/bin/libtool-default: line 1835: x86_64-alt-linux-gfortran: command  
> not found

У меня не воспроизводится, ну да дело не в этом.

> libtool-default: compile: unable to infer tagged configuration
> libtool-default: compile: specify a tag with `--tag'

$ libtool --mode=compile cc -c 1.c
libtool-default: compile: unable to infer tagged configuration
libtool-default: compile: specify a tag with `--tag'
$ libtool --mode=compile x86_64-alt-linux-gcc -c 1.c
libtool-default: compile:  x86_64-alt-linux-gcc -c 1.c  -fPIC -DPIC -o .libs/1.o
libtool-default: compile:  x86_64-alt-linux-gcc -c 1.c -o 1.o >/dev/null 2>&1
$ libtool --mode=compile --tag=CXX cc -c 1.c
libtool-default: compile:  cc -c 1.c  -fPIC -DPIC -o .libs/1.o
libtool-default: compile:  cc -c 1.c -o 1.o >/dev/null 2>&1


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] использование libtool без конфига
  2012-02-08 12:34 ` [sisyphus] использование libtool без конфига Dmitry V. Levin
@ 2012-02-09  7:49   ` Ildar Mulyukov
  0 siblings, 0 replies; 3+ messages in thread
From: Ildar Mulyukov @ 2012-02-09  7:49 UTC (permalink / raw)
  To: sisyphus

On 08.02.2012 18:34:34, Dmitry V. Levin wrote:
> On Wed, Feb 08, 2012 at 06:01:15PM +0600, Ildar Mulyukov wrote:
> > Прошу "помощи зала"
> >
> > 1. Установлен libtool_2.2 и gcc4.5
> >   Fortran НЕ установлен
> > 2. Делаю нехитрые манипуляции:
> > 	$ > 1.c
> > 	$ libtool --mode=compile cc -c 1.c
> 
> Hint: libtool имеет смысл конфигурировать.  Это, вообще говоря, не
> обязательно, но в таком случае надо либо использовать --tag, либо
> использовать в точности такой же compiler, накоторый сконфигурирован
> libtool (см. конец вывода libtool --help).

Спасибо, что наставили "на путь истинный". Это помогло.
[offtopic]
	Всё-таки autotools --- зло. Хоть с первыми двумя "в нулевом  
приближении" разобрался, а и этот, казалось бы, самый простой, тоже  
сумел преподнести сюрприз
  [/offtopic]
-- 
Ildar

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-09  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 12:01 [sisyphus] libtool_2.2 без фортрана Ildar Mulyukov
2012-02-08 12:34 ` [sisyphus] использование libtool без конфига Dmitry V. Levin
2012-02-09  7:49   ` Ildar Mulyukov

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