Re: Using gcc/gfortran 4.8 in MacPorts

2013-12-09 Thread Gustavo Seabra
On Mon, Dec 9, 2013 at 4:03 PM, Ryan Schmidt wrote: > On Dec 9, 2013, at 08:30, Gustavo Seabra wrote: > > > BTW, shouldn't this be activated by default when I install gcc48? > > No; MacPorts doesn’t distinguish between ports you requested to install > and ports that were installed as a dependency.

Re: Using gcc/gfortran 4.8 in MacPorts

2013-12-09 Thread Ryan Schmidt
On Dec 9, 2013, at 08:30, Gustavo Seabra wrote: > BTW, shouldn't this be activated by default when I install gcc48? No; MacPorts doesn’t distinguish between ports you requested to install and ports that were installed as a dependency. If gcc48 is installed, MacPorts doesn’t know whether you wan

Re: fife & Unknown Horizons Game

2013-12-09 Thread Jean-François Caron
Sorry I should have mentioned, I am on Lion 10.7.5. The fife port failed to build for me with the same error as this ticket: https://trac.macports.org/ticket/39581 I now see that it's been updated. Jean-François On 2013-12-09, at 09:40 , Ryan Schmidt wrote: > > On Dec 9, 2013, at 11:35, J

Re: fife & Unknown Horizons Game

2013-12-09 Thread Ryan Schmidt
On Dec 9, 2013, at 11:35, Jean-François Caron wrote: > I was able to compile fifengine from git by following these instructions: > > http://wiki.unknown-horizons.org/w/MacOS_build_notes On Mavericks? If not, you can accomplish the same thing now with: sudo port sync sudo port install fife __

Re: fife & Unknown Horizons Game

2013-12-09 Thread Jean-François Caron
I was able to compile fifengine from git by following these instructions: http://wiki.unknown-horizons.org/w/MacOS_build_notes Once fife is compiled, the Unknown Horizons game is actually just written in python, so it should be easy to make a port for it. Apparently they are trying to move awa

Re: How to make c++ realize empty character constant ''?

2013-12-09 Thread Gmail
Hi Chris Yes, it is fortran code. I am not sure why it uses CPP to compile it. From the compilation statement, Fortran code is converted to .b file and then to compile it. I am not sure why. On Dec 9, 2013, at 3:51 AM, Chris Jones wrote: > >> If you're trying to make a C/C++ string, perhaps

Re: Using gcc/gfortran 4.8 in MacPorts

2013-12-09 Thread Gustavo Seabra
Oops.. Sorry! Gustavo Seabra Professor Adjunto, Departamento de Química Fundamental Coordenador, CENAPAD-PE Universidade Federal de Pernambuco Fone: +55-81-2126-7450 On Mon, Dec 9, 2013 at 11:42 AM, Brandon Allbery wrote: > On Mon, Dec 9, 2013 at 9:30 AM, Gustavo Seabra >

Re: port install painfully slow

2013-12-09 Thread Brandon Allbery
On Mon, Dec 9, 2013 at 7:43 AM, Brian D. McGrew wrote: > Ah, right, thanks for the clarification. We set > DYLD_FALLBACK_LIBRARY_PATH, not the other. But, I don't set that in a new > terminal. I have to run a script that sets up my build environment, which > is 'usually' the first thing I do.

Re: How to make c++ realize empty character constant ''?

2013-12-09 Thread Brandon Allbery
On Sun, Dec 8, 2013 at 1:35 PM, Gmail wrote: > > I am trying to compile the following statements using CPP. > This is a (formerly common) abuse of CPP and nobody can guarantee the result. I *very strongly* recommend you contact whoever provided whatever it is you are working with and get them to

Re: Using gcc/gfortran 4.8 in MacPorts

2013-12-09 Thread Brandon Allbery
On Mon, Dec 9, 2013 at 9:30 AM, Gustavo Seabra wrote: > however, still nothing is set for gfortran: > > $ which gfotran > > $ > (returns nothing) > pyanfar:10004 Z$ type gfortran gfortran is /opt/local/bin/gfortran Check for typos :) -- brandon s allbery kf8nh

Using gcc/gfortran 4.8 in MacPorts

2013-12-09 Thread Gustavo Seabra
Hi all, Please forgive-me the ignorance if this seems to simple a question. I installed gcc4.8 from MacPorts, and now I want to use its compilers, especially gfortran. However, although they are in the path, their names are different, such as "gfortran-mp-4.8", such as they are not seen when the

Re: How to make c++ realize empty character constant ''?

2013-12-09 Thread Jean Gobin
It seems to me you are trying to "assign" a character value to a string. A character is a single 8-bit (or 9 or 10 or 16 or 32 ...) value. A string is a series of characters, terminated or not. Assuming you have the proper classes, you overloaded what needs to be, at best your assignment should l

Re: port install painfully slow

2013-12-09 Thread Brian D. McGrew
> On Dec 9, 2013, at 06:06, Brian D. McGrew wrote: >>> On Sun, Dec 8, 2013 at 8:49 AM, Brian D. McGrew wrote: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid >>> >>> I suggest you find out what is setting these, as MacPorts exe

Re: port install painfully slow

2013-12-09 Thread Ryan Schmidt
On Dec 9, 2013, at 06:06, Brian D. McGrew wrote: >> On Sun, Dec 8, 2013 at 8:49 AM, Brian D. McGrew wrote: >>> dyld: DYLD_ environment variables being ignored because main executable >>> (/usr/bin/sudo) is setuid or setgid >> >> I suggest you find out what is setting these, as MacPorts executes

Re: fife & Unknown Horizons Game

2013-12-09 Thread Ryan Schmidt
On Dec 9, 2013, at 04:43, Ryan Schmidt wrote: > On Dec 8, 2013, at 20:01, Mark Anderson wrote: > >> I tried sometime ago, fife is not the easiest thing to build on the mac. But >> I'd be willing to help out. If you can help figure out how to get it to >> compile, we can make a port file. > >

Re: port install painfully slow

2013-12-09 Thread Brian D. McGrew
On Sun, Dec 8, 2013 at 8:49 AM, Brian D. McGrew mailto:br...@visionpro.com>> wrote: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid I suggest you find out what is setting these, as MacPorts executes most things *not* as root and they c

Trac and Subversion email outage this weekend

2013-12-09 Thread Ryan Schmidt
Between Saturday morning and Sunday evening (central time) our Trac installation and Subversion repository were not sending out the usual email notifications of changes. The problem has been corrected but notifications about changes that happened this weekend seem to be lost, so if you were exp

Re: fife & Unknown Horizons Game

2013-12-09 Thread Ryan Schmidt
On Dec 8, 2013, at 20:01, Mark Anderson wrote: > I tried sometime ago, fife is not the easiest thing to build on the mac. But > I'd be willing to help out. If you can help figure out how to get it to > compile, we can make a port file. I appear to have tried to update the port to 0.3.3r3 in Au

Re: How to make c++ realize empty character constant ''?

2013-12-09 Thread Chris Jones
If you're trying to make a C/C++ string, perhaps you want '\0'. But I can't tell what language you are working with or what exactly you are trying to accomplish. The code that was posted by the OP sure isn't C++... Been a while since I used it, but looks like fortran to me.. ___