ratt-ru / meqtrees

A library for implementing radio astronomical Measurement Equations
http://meqtrees.net
10 stars 2 forks source link

Source files different only in case (MeqServer.cc and meqserver.cc) won't work on MacOS #520

Closed gijzelaerr closed 10 years ago

gijzelaerr commented 10 years ago
at 2007-02-08 16:54:26 Ilse van Bemmel reported:

Source files different only in case (MeqServer.cc and meqserver.cc) won't work on MacOS

gijzelaerr commented 10 years ago

Original comment thread migrated from bugzilla

at 2007-02-08 16:54:26 Ilse van Bemmel replied:

I'm trying to checkout Timba using svn on my Mac notebook and keep getting an error saying: subversion/libsvn_wc/log.c:338: (apr_err=155009) svn: In directory 'Timba/MeqServer/src' subversion/libsvn_subr/io.c:2175: (apr_err=2) svn: Can't open file 'Timba/MeqServer/src/.svn/tmp/text-base/MeqServer.cc.svn-base': No such file or directory

When checking the directory, the file MeqServer.cc.svn-base does exist, contrary to what svn seems to think.

When I then do 'svn cleanup' I get the following error: subversion/libsvn_wc/log.c:338: (apr_err=155009) svn: In directory 'MeqServer/src' subversion/libsvn_subr/io.c:565: (apr_err=2) svn: Can't copy 'MeqServer/src/.svn/tmp/text-base/PyNode.cc.svn-base' to 'MeqServer/src/PyNode.cc.2.tmp': No such file or directory

Checking for the file PyNode.cc.svn-base that does NOT exist in the directory where svn looks for it. The cleanup does not work, neither does updating.

I have seen this before on my iMac in Leiden. I use MacOS 10.4.8 and svn 1.3.1. Maaijke could not reproduce the error when trying to checkout on lofar10.

at 2007-02-08 18:35:30 Oleg Smirnov replied:

Ahhh, I know what it is, google told me. MacOS filenames are not case-sensitive! (when Steve Jobs goes to hell, I hope his punishment is being locked in a small room with Bill Gates for all eternity...) There's meqserver.cc and MeqServer.cc, and MacOS doesn't like that.

Alexander mentioned some option for enabling case-sensitivity (or is it just a different filesystem?), maybe he can help. Eventually I have to go in and rename the offending files, if we're ever to supoport MacOS. In the meantime, remove everything, and just check out Timba/WH and Timba/doc separately (I presume that's what you're after, everything else being useless when it can't build it anyway...)

at 2007-02-09 11:50:10 Ilse van Bemmel replied:

Actually I wanted to get some of the source codes to see how the nodes are build. That might help me to construct a node to calculate the piercing points in the ionosphere. I will check those out separately, for the near future that's no problem.

Currently the only way to set the MacOS file system to case sensitive is to re-format my harddisk. I have to mentally prepare myself for that, but in principle it is an option. I'll discuss this further with Alexander and let you know if we can find another solution.

at 2009-02-11 12:43:33 Oleg Smirnov replied:

Whoever decided to make the OSX filesystem case-insensitive should be drawn, quartered, and set upon by hounds. Preferably together with that Microsoft retardomonkey who designed their wireless password dialog.

This has been fixed in the process of our Mac port, making its way into svn now...