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

* Re: Problem installing XML/Ada 0.7 on GNAT 3.15p, Windows XP and Cygwin
  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
  1 sibling, 1 reply; 5+ messages in thread
From: chris @ 2003-08-28 13:25 UTC (permalink / raw)


Mark Doherty wrote:
> Has anybody installed XML/Ada on Windows XP (Gnat 3.15p). 


Looks like it's using the wrong make file.  Did you read the README.NT 
file?  It says it needs a unix like environment to build in, something 
like cygwin and run configure.  If you cannot then use Makefile.nt and 
rename it to Makefile... do make, etc

This is for 0.7.1...


Chris




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

* Re: Problem installing XML/Ada 0.7 on GNAT 3.15p, Windows XP and Cygwin
  2003-08-28 13:25 ` chris
@ 2003-08-28 17:08   ` Mark Doherty
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Doherty @ 2003-08-28 17:08 UTC (permalink / raw)


chris <spamoff.danx@ntlworld.com> wrote in message news:<ceo3b.320$bC1.102@newsfep4-winn.server.ntli.net>...
> Mark Doherty wrote:
> > Has anybody installed XML/Ada on Windows XP (Gnat 3.15p). 
> 
> 
> Looks like it's using the wrong make file.  Did you read the README.NT 
> file?  It says it needs a unix like environment to build in, something 
> like cygwin and run configure.  If you cannot then use Makefile.nt and 
> rename it to Makefile... do make, etc
> 
> This is for 0.7.1...
> 
> 
> Chris

I ran make under cygwin.

I copied Makefile.nt and Makefile.module.nt to Makefile and
Makefile.module. (and modified PREFIX)

Mark



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

* Re: Problem installing XML/Ada 0.7 on GNAT 3.15p, Windows XP and Cygwin
  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 19:18 ` Simon Wright
  2003-08-28 20:14   ` Mark Doherty
  1 sibling, 1 reply; 5+ messages in thread
From: Simon Wright @ 2003-08-28 19:18 UTC (permalink / raw)


mark_doherty@yahoo.co.uk (Mark Doherty) writes:

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

No, we just include the source directories in our build project and
compile normally ..



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

* Re: Problem installing XML/Ada 0.7 on GNAT 3.15p, Windows XP and Cygwin
  2003-08-28 19:18 ` Simon Wright
@ 2003-08-28 20:14   ` Mark Doherty
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Doherty @ 2003-08-28 20:14 UTC (permalink / raw)



"Simon Wright" <simon@pushface.org> wrote in message
news:x7vy8xdfv53.fsf@smaug.pushface.org...
> mark_doherty@yahoo.co.uk (Mark Doherty) writes:
>
> > Has anybody installed XML/Ada on Windows XP (Gnat 3.15p).
>
> No, we just include the source directories in our build project and
> compile normally ..





^ 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