unable to make install under cygwin

Angelo Fraietta angelo_f at bigpond.com
Wed Mar 12 19:16:30 UTC 2003



Ralf Corsepius wrote:

>Am Mit, 2003-03-12 um 05.08 schrieb Angelo Fraietta:
>
>What kind of meaning does // have under Cygwin?
>
I think it means a host name

>
>>>> Can you tell
>>>>from the logs where it started to come from? I believe it is looking
>>>>for the host named "opt". :(
>>>>
>>>The error is occuring when it says
>>>make install-data-hook
>>>
>>>the command says makedir -p   //opt/rtems/i386-rtems/pc386/lib
>>>
>makedir? I guess you mean mkdir.
>
Yes, sorry a typo

>
>>>I have had a look in the makefile and it has
>>>
>>>
>>>install-data-hook: $(LIB)
>>>	@$(mkinstalldirs) $(DESTDIR)/$(libdir)
>>>	$(INSTALL_DATA) $(LIB) $(DESTDIR)/$(libdir)
>>>
>>>
>>>I have found in that libdir defined inthe makefile as 
>>>libdir = ${exec_prefix}/pc386/lib
>>>
>>>however DESTDIR is not defined anywhere in that file
>>>
>This is correct. DESTDIR normally is empty, and is supposed to be
>provided from the environment if wanting to shift the root of
>installation tree. It typically is applied for building rpms, which
>temporary installs to a temporary directory.
>
>
>>Removing 
>>$(DESTDIR)/
>>from the makefile allowed RTEMS to install, 
>>
>The correct fix is to remove the "/" between $(DESTDIR) and $(libdir).
>
>This '/' is wrong, but doesn't disturb under Unix. 
>
>If it disturbs under Cygwin, ... well, ...
>
>>and I was successfully able to build and run the hello world example
>>The libcpp project did not build
>>
>This is something else, more details (logs) please.
>
Yes Ok, It is a compile error and I'll get to that

>>.
>>I built ticker, however, it failed when I tried to run it.
>>
>This is yet something else.
>
I am looking into this now. I'll have a play with it and see how I can 
make it work.

-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


http://www.users.bigpond.com/angelo_f/

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20030313/4c6378a9/attachment-0001.html>


More information about the users mailing list