ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] rupdmap in TeTeX
@ 2003-01-06  8:53 Pyatnitskich Evgeniy
  2003-01-08 11:01 ` Alexander Bokovoy
  0 siblings, 1 reply; 2+ messages in thread
From: Pyatnitskich Evgeniy @ 2003-01-06  8:53 UTC (permalink / raw)
  To: Sisyphus

Здравствуйте! У меня вопрос по TeTeX:

При сборке rupdmap ("альтернативной реализации утилиты updmap")
вылезает вот это:

rupdmap.c: In function `main':
rupdmap.c:991: warning: implicit declaration of function `rb_source_filename'
rupdmap.c:991: warning: assignment makes pointer from integer without a cast
/home/eugene/tmp/cc8LyrHU.o: In function `main':
/home/eugene/tmp/cc8LyrHU.o(.text+0x142): undefined reference to `rb_source_filename'
collect2: ld returned 1 exit status

Наверное, Ruby 1.6 виноват или чего-то не хватает? Или это у меня руки кривые?

-- 
      ---Regards, P.E.M. <pem@rbcmail.ru>---




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

* Re: [sisyphus] rupdmap in TeTeX
  2003-01-06  8:53 [sisyphus] rupdmap in TeTeX Pyatnitskich Evgeniy
@ 2003-01-08 11:01 ` Alexander Bokovoy
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Bokovoy @ 2003-01-08 11:01 UTC (permalink / raw)
  To: sisyphus

On Mon, Jan 06, 2003 at 02:53:29PM +0600, Pyatnitskich Evgeniy wrote:
> Здравствуйте! У меня вопрос по TeTeX:
> 
> При сборке rupdmap ("альтернативной реализации утилиты updmap")
> вылезает вот это:
> 
> rupdmap.c: In function `main':
> rupdmap.c:991: warning: implicit declaration of function `rb_source_filename'
> rupdmap.c:991: warning: assignment makes pointer from integer without a cast
> /home/eugene/tmp/cc8LyrHU.o: In function `main':
> /home/eugene/tmp/cc8LyrHU.o(.text+0x142): undefined reference to `rb_source_filename'
> collect2: ld returned 1 exit status
> 
> Наверное, Ruby 1.6 виноват или чего-то не хватает? Или это у меня руки кривые?
Да, это 1.6 "виноват"
Поставьте в соответствующем месте в коде в оригинальном .rb-файле обертку:

#if RUBY_VERSION_CODE > 170
	ruby_sourcefile = rb_source_filename(argv[0]);
#else
	ruby_sourcefile = argv[0];
#endif

Я уже сделал соответствующее исправление, оно будет в новой сборке teTeX,
в том числе и для Мастера.
-- 
/ Alexander Bokovoy
---
QOTD:
	"I won't say he's untruthful, but his wife has to call the
	dog for dinner."


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

end of thread, other threads:[~2003-01-08 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06  8:53 [sisyphus] rupdmap in TeTeX Pyatnitskich Evgeniy
2003-01-08 11:01 ` Alexander Bokovoy

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