This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Etienne, >Date: Wed, 02 Jul 2003 16:22:43 +0200 >From: etienne gondet <address@hidden> >Organization: ? >To: Steve Emmerson <address@hidden> >Subject: Re: 20030701: building UDUNITS on Linux 2.4.20 The above message contained the following: > I set : > > export CPPFLAGS=3D-Df2cFortran > > Ans this is this a new problem. > > make[1]: Entre dans le r=E9pertoire=20 > `/home/mercator/src/udunits-1.11.7/src/perl' > Warning: You do not have permissions to install into=20 > /usr/lib/perl5/site_perl/5.6.1/i386-linux at=20 > /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 85. > mkdir /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/UDUNITS: Permission = > > non accord=E9e at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 139 > make[1]: *** [pure_site_install] Erreur 255 > make[1]: Quitte le r=E9pertoire `/home/mercator/src/udunits-1.11.7/src/pe= > rl' > make: *** [perl/install] Erreur 1 > guinee:/home/mercator/src/udunits-1.11.7/src $ ls=20 > /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto > > I don't really unerstand the problem with perl we try to set +x to=20 > /usr/lib/perl5/5.6.1/ExtUtils/Install.pm If the environment variable PERL is not set to the empty string before the "configure" script is executed, then the "make install" will try to install the Perl extension module for UDUNITS into the perl installation. This process must have the necessary write permissions in order to do this. Typically, this step is done by the root user. If you can become the root user, then do so and re-execute the "make install". If you can't become the root user and don't want or need the Perl extension module for UDUNITS, then 1. Go to the top-level source directory. 2. Perform steps 3 through 5 described near the end of the file INSTALL. 3. Ensure that the environment variable PERL is set to the empty string, e.g., export PERL='' or setenv PERL '' depending on your user shell. 4. Perform steps 6 through 9 described near the end of the file INSTALL. Regards, Steve Emmerson