c compile error on implicit declaration

2013-12-10 Thread Gmail
Hi all I am trying to compile the c code and got the following error. cc -DIWORDSIZE=4 -DMAX_HISTORY=25 -DNMM_CORE=0 -c -g registry.c registry.c:60:3: warning: implicit declaration of function 'sym_forget' is invalid in C99 [-Wimplicit-function-declaration] sym_forget() ; ^ Do anybody

Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-10 Thread Gmail
Hi all When I compile a fortran code, I got the error Undefined symbols for architecture x86_64 My mac is 64bits. The fortran compiler used here is ifort. Thank you Bruce___ macports-users mailing list macports-users@lists.macosforge.org

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 jon...@hep.phy.cam.ac.uk wrote: If you're trying to make a

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

2013-12-08 Thread Gmail
Hi all I am trying to compile the following statements using CPP. IF ( denominator 0 ) THEN IF ( mod( numerator, denominator ) /= 0 ) THEN IF ( numerator 0 ) THEN WRITE(frac_str,FMT=('+',I2.2,'/',I2.2)) abs(numerator), denominator ELSE ! numerator 0

Re: set default gcc among different versions

2013-11-18 Thread Gmail
Hi vq Thank you so much. I can run gfortran-mp-4.8 directly. In that case, I do not need to make it as default fortran compiler. Thank you Bruce On Nov 18, 2013, at 1:11 AM, Lawrence Velázquez lar...@macports.org wrote: On Nov 18, 2013, at 2:00 AM, Gmail yangz...@gmail.com wrote: I have

no .mod files in netcdf library directory

2013-11-17 Thread Gmail
Hi all I used macports to install netcdf. However there is no .mod files in netcdf library directory. When I compiler a fortran code which uses netcdf, the netcdf.mod can not be found. So does someone know why? Thank you Zhifeng (Bruce) Yang Department of Earth and Atmospheric Sciences

Re: gnudatalanguage update

2013-11-17 Thread Gmail
Schmidt ryandes...@macports.org wrote: On Nov 16, 2013, at 10:14, Gmail yangz...@gmail.com wrote: Can anybody do me a favor to update gnudatalanguage? So that it can support for newest Mac OS X Mavericks. The gnudatalanguage port is at version 0.9.4. That is the latest version available

set default gcc among different versions

2013-11-17 Thread Gmail
Hi all I have installed 2 versions of gcc. One is from Mac BUILT-IN. The other one is from macports. So how can I make the gcc installed by macports as the default gcc while I compile c program? BTW, in the /opt/local/bin directory, I can find gcc-mp-4.8 and gfortran-mp-4.8, instead of gcc and

gnudatalanguage update

2013-11-16 Thread Gmail
Hi all Can anybody do me a favor to update gnudatalanguage? So that it can support for newest Mac OS X Mavericks. Thank you Zhifeng (Bruce) Yang Department of Earth and Atmospheric Sciences University of Nebraska-Lincoln Homepage : http://zyang01.com/

Re: error on installing cmake

2013-11-14 Thread Gmail
Actually I am not sure that. I uninstalled Xcode 5.0.2 gotten from app store and installed Xcode 5.0.1 from apple developer website. Then restart my mac. it seemed it worked. On Nov 14, 2013, at 10:10 AM, Ryan Schmidt ryandes...@macports.org wrote: On Nov 14, 2013, at 10:00, zhifeng yang

error on installing gnudatalanguage

2013-11-14 Thread Gmail
:32 AM, Ryan Schmidt ryandes...@macports.org wrote: On Nov 13, 2013, at 19:35, Gmail wrote: However I got the following error installing cmake using macports. That’s why I install cmake separately. We’ve had a few other reports of similar cmake build errors with Xcode 5.0.1. One user

error on installing cmake

2013-11-13 Thread Gmail
Hi all I successfully installed cmake separately, not using macports. However when I try to install gdl3, it still include cmake as dependency. macports still try to install cmake, without knowing cmake is already installed. So what should I do to make macports know that I have installed cmake

Re: error on installing cmake

2013-11-13 Thread Gmail
However I got the following error installing cmake using macports. That’s why I install cmake separately.Here is the log file. main.log Description: Binary data On Nov 13, 2013, at 7:32 PM, Brandon Allbery allber...@gmail.com wrote:On Wed, Nov 13, 2013 at 8:26 PM, Gmail yangz...@gmail.com wrote

Re: error on installing cmake

2013-11-13 Thread Gmail
, Nov 13, 2013 at 8:35 PM, Gmail yangz...@gmail.com wrote: However I got the following error installing cmake using macports. That’s why I install cmake separately. http://trac.macports.org/ticket/41212 Looks like only some users are seeing it and it may depend on how Xcode was installed

Re: error on installing cmake

2013-11-13 Thread Gmail
Yes, actually I am trying to install IDL compiler on mac. However currently gnudatalanguage can not installed on Mavericks of mac. So do you how I can solve this problem to compile IDL. GDL means “GNU Data Language On Nov 13, 2013, at 8:29 PM, Brandon Allbery allber...@gmail.com wrote:

Re: error on installing cmake

2013-11-13 Thread Gmail
descriptions...) On Wed, Nov 13, 2013 at 9:18 PM, Gmail yangz...@gmail.com wrote: I have installed GDL and GDL3 using macports. However I can not find their bin in /opt/local/bin directory. Even macports directory I can not find them. Maybe they do not have bin file? If so, how can I run GDL

Re: error on installing cmake

2013-11-13 Thread Gmail
PM, Brandon Allbery allber...@gmail.com wrote: On Wed, Nov 13, 2013 at 9:36 PM, Gmail yangz...@gmail.com wrote: GNU Data Language So do you know how can I install it on mac? The error noted in the Portfile immediately makes me think it's not so much a Mavericks as a clang issue... and http

error on installing cmake

2013-11-12 Thread Gmail
Hi all I got the following error when I try to install cmake 2.8.12 on my iMac with Mavericks. version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501

Can't seem to get PHP function exif_read_data to work

2012-01-12 Thread g...@gulik.org Gmail
I'm having a weird problem where I can't get the PHP exif module to work. It IS installed but I get the error *Fatal error*: Call to undefined function exif_read_data() in.. in my script. # port list installed | grep php php5 @5.3.8 lang/php5 php5-exif

Re: Can't seem to get PHP function exif_read_data to work

2012-01-12 Thread g...@gulik.org Gmail
is in you PHP include_path! :) g...@gulik.org Gmail wrote: I'm having a weird problem where I can't get the PHP exif module to work. It IS installed but I get the error *Fatal error*: Call to undefined function exif_read_data() in.. in my script. # port list installed | grep php php5

Emacs not launching independent Xwindow (emacs shell)

2011-01-18 Thread gmail
I have installed macports and use many of the other applications without problems. I have had a problem in getting any of the emacs versions to provide a x-window in the command ³emacs test ² which should launch GNU emacs into its own window as in a Linux environment. I have X11 working

Re: Emacs not launching independent Xwindow (emacs shell)

2011-01-18 Thread gmail
xemacs just do: port install emacs +x11 On 1/18/11 3:34 PM, Dan Ports dpo...@macports.org wrote: On Tue, Jan 18, 2011 at 03:22:58PM -0800, gmail wrote: I have installed macports and use many of the other applications without problems. I have had a problem in getting any of the emacs versions