On 10/4/14, 9:02 AM, Alexander Hansen wrote:
> On 10/3/14, 8:48 PM, Prashant Gaikwad wrote:
>> Hello Sir,
>>      following is the error while i tries to install fink on my Mac Pro.
>> I have downloaded fink separately from internet and then tried to
>> install it. Please help.
>>
>>
>> patching file apt-pkg/algorithms.cc <http://algorithms.cc>
>> patching file apt-pkg/init.cc <http://init.cc>
>> patching file apt-pkg/deb/debsystem.cc <http://debsystem.cc>
>> patching file apt-pkg/contrib/cdromutl.cc <http://cdromutl.cc>
>> patching file cmdline/apt-cache.cc <http://apt-cache.cc>
>> patching file cmdline/apt-config.cc <http://apt-config.cc>
>> patching file cmdline/apt-extracttemplates.cc
>> <http://apt-extracttemplates.cc>
>> patching file cmdline/apt-sortpkgs.cc <http://apt-sortpkgs.cc>
>> patching file apt-inst/contrib/extracttar.cc <http://extracttar.cc>
>> patching file apt-pkg/deb/debsystem.h
>> patching file apt-pkg/pkgsystem.h
>> perl -pi -e 's|vector.h|vector|g' apt-pkg/pkgsystem.h
>> include/apt-pkg/pkgsystem.h
>> Can't open include/apt-pkg/pkgsystem.h: No such file or directory, <>
>> line 97.
>> perl -pi -e 's|iostream.h|iostream|g' apt-inst/contrib/extracttar.cc
>> <http://extracttar.cc> apt-inst/deb/dpkgdb.cc <http://dpkgdb.cc>
>> apt-inst/extract.cc <http://extract.cc> apt-pkg/algorithms.cc
>> <http://algorithms.cc> apt-pkg/contrib/error.cc <http://error.cc>
>> cmdline/apt-cache.cc <http://apt-cache.cc> cmdline/indexcopy.cc
>> <http://indexcopy.cc> test/versiontest.cc <http://versiontest.cc>
>> perl -pi -e 's|fstream.h|fstream|g' apt-pkg/sourcelist.cc
>> <http://sourcelist.cc> cmdline/apt-get.cc <http://apt-get.cc>
>> sh patch_flush
>> for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi -e 's/#ifdef
>> __GNUG__/#if defined(__GNUG__) && !defined(__APPLE_CC__)/' $i; done
>> echo "x86_64\tx86_64" >>
>> /sw/src/fink.build/apt-0.5.4-1061/apt-0.5.4/buildlib/archtable
>> ./configure --prefix=/sw --host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
>> creating cache ./config.cache
>> checking host system type... x86_64-apple-darwin13
>> checking target system type... x86_64-apple-darwin13
>> checking build system type... x86_64-apple-darwin13
>> checking for gcc... gcc
>> checking whether the C compiler (gcc  ) works... yes
>> checking whether the C compiler (gcc  ) is a cross-compiler... no
>> checking whether we are using GNU C... yes
>> checking whether gcc accepts -g... no
>> checking for POSIXized ISC... no
>> checking for c++... c++
>> checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC
>> -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) works... yes
>> checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC
>> -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) is a cross-compiler... no
>> checking whether we are using GNU C++... yes
>> checking whether c++ accepts -g... no
>> checking how to run the C preprocessor... /lib/cpp
>> checking for ranlib... ranlib
>> checking for ar... ar
>> checking for library containing gethostbyname... none required
>> checking for library containing connect... none required
>> checking for db2/db.h... no
>> checking system architecture... x86_64
>> checking system OS... darwin
>> checking for C99 integer types... yes
>> checking for statvfs... yes
>> checking whether byte ordering is bigendian... no
>> checking for missing socklen_t... missing.
>> checking for h_errno... configure: error: not found.
>> ### execution of ./configure failed, exit code 1
>> phase compiling: apt-0.5.4-1061 failed
>>
>> Before reporting any errors, please run "fink selfupdate" and try again.
>>
>> If you continue to have issues, please check to see if the FAQ on Fink's
>> website solves the problem.  If not, ask on one (not both, please) of
>> these mailing lists:
>>
>> The Fink Users List <fink-us...@lists.sourceforge.net
>> <mailto:fink-us...@lists.sourceforge.net>>
>> The Fink Beginners List <fink-beginners@lists.sourceforge.net
>> <mailto:fink-beginners@lists.sourceforge.net>>.
>>
>> Please try to include the complete error message in your report.  This
>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>> followed by the actual error output from the compiler.
>>
>> Also include the following system information:
>> Package manager version: 0.37.0
>> Distribution version: selfupdate-point (bootstrap), 10.9, x86_64
>> Trees: local/main stable/main
>> Xcode.app: 6.0.1
>> Xcode command-line tools: 6.1.0.0.1.1410476164
>> Max. Fink build jobs:  1
>>
>>
>>
>
> fink-0.37.1 was released a week ago and fixes this problem. Fortunately,
> because apt is really an optional package for our purposes, you can
> update to fink-0.37.1 from your existing setup and then install apt:
>
> 1) Go ahead and set up your Fink environment by running
>
> /sw/bin/pathsetup.sh
>
> in a terminal window.
>
> 2) Open a new terminal window and in that run
>
> fink selfupdate
>
> then choose "rsync" or "cvs".  Do _not_ choose "point release" because
> that method doesn't currently allow you to apply any further updates.
>
> This should install fink-0.37.1 as well as installing package descriptions.
>
> 3) Use
>
> fink install apt
>
> to install apt.

Also, you didn't specify your OS version.  If you're on Yosemite (your 
version of the command-line tools looks different than mine, so I'm 
guessing that this might be the case) you're going to need to use the 
Yosemite-specific development branch of fink, which contains other changes.

You should be able to apply that in place:

1) Download the development fink branch from

https://github.com/fink/fink/archive/HalfDome.zip

2) unzip the file (fink-HalfDome.zip) if your browser didn't do it already.

3) In the terminal change to the fink-HalfDome directory via "cd 
/path/to/fink-HalfDome", replacing "path/tp" by the actual path.

4) In the terminal, run "./inject.pl" to install the new fink.

I'd recommend getting the HalfDome fink prior to running "fink selfupdate".
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to