ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] lablGL dependencies
@ 2009-05-15  5:35 Vladimir V. Kamarzin
  2009-05-15  7:29 ` Alexey Tourbin
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir V. Kamarzin @ 2009-05-15  5:35 UTC (permalink / raw)
  To: devel

Hi

Скажите, это нормальная ситуация?

# rpm -qR lablGL |grep devel
libGL-devel
libGLU-devel
libX11-devel
libXext-devel
libXmu-devel
libfreeglut-devel

-- 
vvk


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

* Re: [devel] lablGL dependencies
  2009-05-15  5:35 [devel] lablGL dependencies Vladimir V. Kamarzin
@ 2009-05-15  7:29 ` Alexey Tourbin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2009-05-15  7:29 UTC (permalink / raw)
  To: Vladimir V. Kamarzin; +Cc: devel

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

On Fri, May 15, 2009 at 11:35:30AM +0600, Vladimir V. Kamarzin wrote:
> Скажите, это нормальная ситуация?
> 
> # rpm -qR lablGL |grep devel
> libGL-devel
> libGLU-devel
> libX11-devel
> libXext-devel
> libXmu-devel
> libfreeglut-devel

Да.  Этот пакет содержит окамлевские модули.  То, каким образом окамль
использует свои модули, больше всего похоже на статическую линковку.

$ /usr/lib/rpm/ocaml.req /usr/lib64/ocaml/site-lib/lablGL/lablglut.cma
ocaml-cmi(Array) = 3.10-AA8E3CD5
ocaml-cmi(Printf) = 3.10-5DBBF45A
ocaml-cmi(Buffer) = 3.10-F6CEF633
ocaml-cmi(Pervasives) = 3.10-8BA3D1FA
ocaml-cmi(Glut) = 3.10-BC61F261
ocaml-cmi(List) = 3.10-DA1CE916
ocaml-cmi(Obj) = 3.10-5CFAE708
ocaml-cmi(Hashtbl) = 3.10-083F2C94
ocaml-dll(lablglut)
libX11-devel
libXmu-devel
libXext-devel
libGLU-devel
libGL-devel
libfreeglut-devel
lablGL
$

Когда происходит линковка с окамлевским модулем, то там дополнительно
происходит линковка с разделяемыми библиотеками.

$ /usr/lib/rpm/ocaml-reqprov /usr/lib64/ocaml/site-lib/lablGL/lablglut.cma 
cmi_name        Glut
cmi_requires    aa8e3cd5824f9bb40b93fcd38d0c95b5        Array
cmi_requires    5dbbf45a03b54e6dbfcf39178d0d6341        Printf
cmi_requires    f6cef633ea14963b84b79c4095c63dc3        Buffer
cmi_requires    8ba3d1faa24d659525c9025f41fd0c57        Pervasives
cmi_requires    bc61f26134f9ca185229a35484feddc5        Glut
cmi_requires    da1ce9168f0408ff26158af757456948        List
cmi_requires    5cfae708052c692ea39d23ed930fd64d        Obj
cmi_requires    083f2c94b44ff4e0b3220aaea6a783b4        Hashtbl
ccobj   -lX11
ccobj   -lXmu
ccobj   -lXext
ccobj   -lGLU
ccobj   -lGL
ccobj   -lglut
ccobj   -llablglut
dllib   -llablglut
$

Следуя общей тенденции, пакет libGL следовало бы назвать lablGL-devel.
Однако у окамля есть свои специфические тенденции.  Не факт, что они
очень хорошие, но в общем есть то что есть.

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

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

end of thread, other threads:[~2009-05-15  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-15  5:35 [devel] lablGL dependencies Vladimir V. Kamarzin
2009-05-15  7:29 ` Alexey Tourbin

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