[MINC-users] minc 1 installation

Parya Momayyezsiahkal parya.momayyezsiahkal at mail.mcgill.ca
Sun Jan 3 18:19:49 EST 2010


Hi Jim,

Here are the answers to tour questions:

1) I use Ubuntu at work, and I wanted to have the same system at home. And also, I am not that comfortable with Xtool Debugger for C++ code development, and eclipse which is much easier to work with has so many bugs on Mac.
2) I have partitioned the disk space to dual boot Ubuntu and Mac OS x.
3) I want to have minc-1 libraries. For minc2, I have used the pre-built minc package. And also when I try to to install minc package using Synaptic package manager, I 'll get the message saying:
Depends: netcdf which is not installable.
4) No I have not built hdf5 and netcdf myself.
5) I tried the --prefix option, the LDFlags option, LIBS option, but none of them helped.

thanks,
Parya
________________________________________
From: minc-users-bounces at bic.mni.mcgill.ca [minc-users-bounces at bic.mni.mcgill.ca] On Behalf Of EJ Nikelski [nikelski at bic.mni.mcgill.ca]
Sent: Sunday, January 03, 2010 3:49 PM
To: MINC users mailing list
Subject: Re: [MINC-users] minc 1 installation

Hi Parya,

   Ahhh, so many questions ...

(1) Just curious, why did you install ubuntu on your mac? Why not run
minc natively?
(2) Did you install ubuntu on a VM, or did you really wipe out OS X?
(3) Why not use the pre-built minc packages?
(4) Did you also build hdf5 and netcdf yourself? Did the "make check"
work for both?
(5) Did you use the default configure switches, or did you add any
extra? I use something like ..

# set the new BIC install directory
export BIC_BUILD_PATH=/usr/local/bic/new_build
export BIC_INSTALL_PATH=/usr/local/bic/new_build
#
./configure  \
    --prefix=$BIC_INSTALL_PATH  \
    --with-build-path=$BIC_BUILD_PATH  \
    --enable-shared  \
    --enable-static  \
    --enable-acr-nema

HTH. Happy building.

-Jim


On Sat, Jan 2, 2010 at 9:58 PM, Parya Momayyezsiahkal
<parya.momayyezsiahkal at mail.mcgill.ca> wrote:
> Hi all,
>
> I have recently installed Ubuntu 9.10 on my iMac and was trying to install minc1 libraries.
> While ./configure runs fine, I'll get the following error meassge when make is run:
>
> libsrc/image_conversion.c: In function 'miicv_create':
> libsrc/image_conversion.c:206: error: 'MAX_NC_OPEN' undeclared (first use in this function)
> libsrc/image_conversion.c:206: error: (Each undeclared identifier is reported only once
> libsrc/image_conversion.c:206: error: for each function it appears in.)
>
> As far as I know, MAX_NC_OPEN has been defined in netcdf.h which is located in the /usr/include/ directory in my case. The netcdf library is also located in /usr/lib which I assume is a standard location on Ubuntu.
> I am really confused now and I would appreciate if anyone can help me with this.
>
> Thanks,
> Parya
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



--
=================================
Jim Nikelski, Ph.D.
Postdoctoral Research Fellow
Bloomfield Centre for Research in Aging
Lady Davis Institute for Medical Research
Sir Mortimer B. Davis - Jewish General Hospital
McGill University
_______________________________________________
MINC-users at bic.mni.mcgill.ca
http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users



More information about the MINC-users mailing list