Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28484 - netcdf emerge problem
Summary: netcdf emerge problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 18:28 UTC by Jianghai Zhu
Modified: 2003-10-01 12:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The emerge info (emerge.info,1.36 KB, text/plain)
2003-09-16 13:32 UTC, Jianghai Zhu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jianghai Zhu 2003-09-11 18:28:55 UTC
I am using gentoo 1.4 and gcc 3.2.3-r1. I was trying to emerge netcdf, but I got
the following errors.

>>> md5 src_uri ;-) netcdf-3.5.0.tar.Z
>>> Unpacking source...
>>> Unpacking netcdf-3.5.0.tar.Z to /var/tmp/portage/netcdf-3.5.0-r2/work
patching file ncvalues.h
patching file ncvalues.cpp
Hunk #1 succeeded at 7 with fuzz 1.
patching file netcdfcpp.h
patching file nctst.cpp
>>> Source unpacked.
creating cache ./config.cache
checking for top-level source-directory
/var/tmp/portage/netcdf-3.5.0-r2/work/netcdf-3.5.0/src
checking for m4 preprocessor
checking for m4... m4
checking m4 flags... -B10000
checking C compiler "gcc"... works
checking how to make dependencies... false
checking for g++... g++
checking C++ compiler "g++"... works
checking how to run the C preprocessor... gcc -E
checking for f77... no
checking for fort77... no
checking for g77... g77
checking for Fortran .F compiler...
checking if Fortran-77 compiler handles *.F files... no
checking for Fortran preprocessor... gcc -E
checking "g77" as Fortran-90 compiler... failed to build test program
checking for xlf90... no
checking for f90... no
configure: warning: Could not find working Fortran-90 compiler
configure: warning: The Fortran-90 interface will not be built
checking for nm utility
checking for nm... nm
checking nm flags...
checking for C-equivalent to Fortran routine "SUB"... sub_
checking for Fortran "byte"... yes
checking for Fortran "integer*2"... yes
checking if Fortran "byte" is C "signed char"... configure: error: Could not
link conftestf.o and conftest.o

!!! ERROR: app-sci/netcdf-3.5.0-r2 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 13:25:29 UTC
please provide
#emerge info
Comment 2 Jianghai Zhu 2003-09-16 13:32:46 UTC
Created attachment 17825 [details]
The emerge info

bash-2.05b# emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo
http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang
readline arts svga java guile sdl gpm tcpd pam libwww ssl python esd imlib
oggvorbis qt kde motif opengl X gtk -alsa -3dnow pcmcia sse pnp pda slp dga
fbcon tcltk aalib lcms tiff oss ggi dvd flash xface mozilla xml plotutils tetex
perl ruby gnome atlas truetype pic doc"
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-09-17 15:37:06 UTC
can you please try again using a more stable gcc.
gcc-3.3.1 for example.
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2003-09-22 07:33:36 UTC
using gcc (GCC) 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice). works for me.
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2003-10-01 12:21:53 UTC
Assuming the user has bumped to a newer gcc version.