bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #10577] Fix symlinks for use on Windows


From: anonymous
Subject: [bugs #10577] Fix symlinks for use on Windows
Date: Wed, 06 Oct 2004 04:11:24 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #10577] Latest Modifications:

Changes by: Anonymous user
Date:  
                Wed 10/06/2004 at 08:04

------------------ Additional Follow-up Comments ----------------------------
after investigating I found that it is because obj and Current are 'symlinks' 
to actual directories. That is, they are created with $(LN_S).

well, in config.make I found that LN_S = ln -s. This is because 'ln -s' *does* 
exist in msys but what it does is a 'cp -r'. This explains the error message in 
windows.

the workaround i used was to replace any

'rm -f linkdir; $(LN_S) realdir linkdir'
(which fails with message: 'linkdir is a directory')

with

'$(LN_S) -f realdir linkdir'
(ln -s -f forces the remove and the copy of the new dir)

impacted files were:

rules.make
Instance/framework.make

but of course obj and Current remain useless, and i live with it.







/**************************************************************************/
[bugs #10577] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10577>
Project: GNUstep
Submitted by: Adam Fedor
On: Mon 10/04/2004 at 22:59

Category:  Base/Foundation
Severity:  3 - Ordinary
Item Group:  Bug
Resolution:  None
Privacy:  Public
Assigned to:  fedor
Status:  Open


Summary:  Fix symlinks for use on Windows

Original Submission:  From: andre levy <gsalevy@almonde.com>
Date: September 16, 2004 10:10:04 AM MDT
To: discuss-gnustep@gnu.org
Subject: gnustep-make for windows: linked directory is not really usable

Hi all,

I'm using gnustep-make 1.10.0. to build my application.
I'm also using mingw-3.1.0-1 for gcc3.2 and msys-1.0.10 to run make.

when I run 'make' my project is compiled.
when I later on run 'make debug=yes' the compilation is interrupted with a 
message like:
rm: 'obj' is a directory
ln: 'obj': cannot overwrite directory

I run into the same problem when I try to re-make a framework. it complains 
that 'Current' is a directory...


Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 10/06/2004 at 08:04       By: 0 <None>
after investigating I found that it is because obj and Current are 'symlinks' 
to actual directories. That is, they are created with $(LN_S).

well, in config.make I found that LN_S = ln -s. This is because 'ln -s' *does* 
exist in msys but what it does is a 'cp -r'. This explains the error message in 
windows.

the workaround i used was to replace any

'rm -f linkdir; $(LN_S) realdir linkdir'
(which fails with message: 'linkdir is a directory')

with

'$(LN_S) -f realdir linkdir'
(ln -s -f forces the remove and the copy of the new dir)

impacted files were:

rules.make
Instance/framework.make

but of course obj and Current remain useless, and i live with it.













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10577>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]