Solving problems with Subversion
Posted by Alberto - 07/11/09 at 07:11:24 pmWhile I was updating my local copy of a SVN repository, I got this error:
Can’t copy / move ‘
.svn-base’ to ‘ .tmp’: The system cannot find the file specified.
The problem was that there were two files in the repository whose names differed only in case (e.g., File.txt and file.txt). This is possible in Unix-based systems, but not in Windows. So due to I was using a Windows computer, I couldnt update my local copy. I you have this problem, just delete or rename one of the files in the repository.
Compiling Erlang on Mac
Posted by Alberto - 05/11/09 at 11:11:59 pmFirst of all you need to install XCode, because you will need GCC compiler. These are the steps I followed:
1. Download the latest version of Erlang. In my case, it was R13B02-1, so I got a file named otp_src_R13B02-1.tar.gz
2. After decompressing the file:
$ cd otp_src_R12B-2
$. /configure
$ make
$ sudo make install
These are the standard steps, but I had a problem with the “make” command. I got the following error:
gen/wxe_events.cpp: In function ‘void initEventTable()’:
gen/wxe_events.cpp:277: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN’ was not declared in this scope
gen/wxe_events.cpp:278: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP’ was not declared in this scope
gen/wxe_events.cpp:279: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN’ was not declared in this scope
gen/wxe_events.cpp:280: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP’ was not declared in this scope
gen/wxe_events.cpp:281: error: ‘wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED’ was not declared in this scope
gen/wxe_events.cpp:282: error: ‘wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE’ was not declared in this scope
gen/wxe_events.cpp:283: error: ‘wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK’ was not declared in this scope
make[4]: *** [i386-apple-darwin9.8.0/wxe_events.o] Error 1
make[3]: *** [release] Error 2
make[2]: *** [release] Error 2
make[1]: *** [release] Error 2
make: *** [install.libs] Error 2
The solution was to build Erlang without wxwidget support, so the steps I followed were:
$ cd otp_src_R12B-2
$. /configure
$ touch lib/wx/SKIP
$ make
$ sudo make install
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.


