comp.lang.ada
 help / color / mirror / Atom feed
* Problem installing XML/Ada 0.7 on GNAT 3.15p, Windows XP and Cygwin
@ 2003-08-28 10:19 Mark Doherty
  2003-08-28 13:25 ` chris
  2003-08-28 19:18 ` Simon Wright
  0 siblings, 2 replies; 5+ messages in thread
From: Mark Doherty @ 2003-08-28 10:19 UTC (permalink / raw)


Has anybody installed XML/Ada on Windows XP (Gnat 3.15p). 

http://libre.act-europe.fr/xmlada/

The make file attempts to copy libxmlada_unicode-0.7.so file when it
has not been created. (only libxmlada_unicode-0.7.a has been created)

Do ".so" files exist in windows or are they dll's?

extract from makefile.module.nt

lib: ${OBJ}
 	cd obj; ${AR} ${ARFLAGS} ${soname}.a ${OBJ}
ifeq (${WIN32}, TRUE)
	cd obj; ${RANLIB} ${soname}.a
else
	@if [ -f /usr/bin/$(RANLIB) -o -f /bin/$(RANLIB) ]; then \
	   cd obj; ${RANLIB} ${soname}.a; \
	fi
##
##       The next line I assume creates libxmlada_unicode-0.7.so 
##       (but not in a windows environment)
## 
	cd obj; ${CC} -shared -o ${soname}.so ${OBJ}
endif

install: lib
	@${MKDIR} ${PREFIX}/lib
	@${MKDIR} ${PREFIX}/include/xmlada
	cd obj; ${CP} *.ali ${PREFIX}/include/xmlada
	cd ${PREFIX}/include/xmlada; ${CHMOD} -w *.ali
	${CP} *.ad[bs] ${PREFIX}/include/xmlada
##
##       The next line fails to find libxmlada_unicode-0.7.so
##
	cd obj; ${CP} ${soname}.a ${soname}.so ${PREFIX}/lib
	cd ${PREFIX}/lib; ${LN} ${soname}.so ${libname}.so

Here is a screen shot of my problem.
�
cd obj; ranlib libxmlada_unicode.a
cd obj; cp -p -f *.ali C:/GNAT/xmlada/include/xmlada
cd C:/GNAT/xmlada/include/xmlada; chmod -w *.ali
cp -p -f *.ad[bs] C:/GNAT/xmlada/include/xmlada
cd obj; cp -p -f libxmlada_unicode.a
libxmlada_unicode-0.7.so C:/GNAT/xmlada/lib

cp: cannot stat `libxmlada_unicode-0.7.so': No such
file or directory
make.exe[1]: *** [install] Error 1
make.exe[1]: Leaving directory
`c:/gnat/xmlada-install/xmlada-0.7.1/unicode'
c:\GNAT\bin\make.exe: *** [unicode_install] Error 2



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

end of thread, other threads:[~2003-08-28 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-28 10:19 Problem installing XML/Ada 0.7 on GNAT 3.15p, Windows XP and Cygwin Mark Doherty
2003-08-28 13:25 ` chris
2003-08-28 17:08   ` Mark Doherty
2003-08-28 19:18 ` Simon Wright
2003-08-28 20:14   ` Mark Doherty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox