ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: help with lavaps (c++ part) please
@ 2002-11-28 12:22 Michael Shigorin
  2002-11-28 12:35 ` [devel] " Michael Shigorin
  2002-11-28 17:46 ` [devel] " Alexey Voinov
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Shigorin @ 2002-11-28 12:22 UTC (permalink / raw)
  To: devel

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

	Здравствуйте.
Кто-нибудь сведущий в C++ может чуток помочь с lavaps?

Сейчас http://osdn.org.ua/~mike/lavaps-1.20-alt2.src.rpm
не собирается с такими жалобами:

---

make[3]: Entering directory `/home/mike/RPM/BUILD/lavaps-1.20/linux/proc'
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c alloc.c
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c compare.c
compare.c:103:13: warning: pasting "->" and "user" does not give a valid preprocessing token
compare.c:103:13: warning: pasting "->" and "user" does not give a valid preprocessing token

[...]

c++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include      -DUSE_PROCESS_SCAN_LINUX_PROC -Ilinux -g  -DUSE_TCL_BLOB  -Wall -DLAVAPS_STL_NAMESPACE=none -I/usr/X11R6/include -c process_scan_aix.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include      -DUSE_PROCESS_SCAN_LINUX_PROC -Ilinux -g  -DUSE_TCL_BLOB  -Wall -DLAVAPS_STL_NAMESPACE=none -I/usr/X11R6/include -c blob.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include      -DUSE_PROCESS_SCAN_LINUX_PROC -Ilinux -g  -DUSE_TCL_BLOB  -Wall -DLAVAPS_STL_NAMESPACE=none -I/usr/X11R6/include -c tcl_blob.cc
tcl_blob.cc: In function `void tcl_blob::init ()':
tcl_blob.cc:337: cannot convert `const char *' to `char *' for argument `1' to `die (char *)'
tcl_blob.cc:347: cannot convert `int (*) (void *, Tcl_Interp *, int, char **)' to `int (*) (void *, Tcl_Interp *, int, const char **)' for argument `3' to `Tcl_CreateCommand (Tcl_Interp *, const char *, int (*) (void *, Tcl_Interp *, int, const char **), void *, void (*) (void *))'

[...]

tcl_blob.cc: In method `void tcl_blob::redraw ()':
tcl_blob.cc:592: cannot convert `const char *' to `char *' in initialization
make[2]: *** [tcl_blob.o] Error 1
make[2]: Leaving directory `/home/mike/RPM/BUILD/lavaps-1.20'

[вываливаемся]

---

Author's note on building:

> Building LavaPS requires C++, STL, and Tcl/Tk.

Имею:

trickster:~> rpm -qa |grep -- ++|sort
gcc2.95-c++-2.95.3-alt1
gcc2.96-c++-2.96-alt2
gcc3.2-c++-3.2.1-alt0.4
libstdc++2.95-devel-2.95.3-alt1
libstdc++2.96-2.96-alt2
libstdc++2.96-devel-2.96-alt2
libstdc++3.2-3.2.1-alt0.4
libstdc++3.2-debug-3.2.1-alt0.4
libstdc++3.2-devel-3.2.1-alt0.4

Что интересно -- 

trickster:~> rpm -qf `find /usr/include -name stl.h`
libstdc++2.96-devel-2.96-alt2

Попытка собрать с 2.95.3/2.96 тоже не удалась.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

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

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

end of thread, other threads:[~2002-11-28 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-28 12:22 [devel] Q: help with lavaps (c++ part) please Michael Shigorin
2002-11-28 12:35 ` [devel] " Michael Shigorin
2002-11-28 13:19   ` Sergey Bolshakov
2002-11-28 17:46 ` [devel] " Alexey Voinov

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