On 9/27/14, 8:17 AM, Alexander Hansen wrote:
> On 9/27/14, 6:24 AM, David Chin wrote:
>> Tried 0.37.1 and it failed to build "fink install apt".
>>
>> On host:
>> Darwin myhost 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11
>> PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
>>
>> gcc:
>> Configured with:
>> --prefix=/Applications/Xcode.app/Contents/Developer//usr
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
>> Target: x86_64-apple-darwin13.4.0
>> Thread model: posix
>>
>> Installed packages:
>
> <snip> not really too important in this case because the bootstrap
> operation is in a defined order, so we know what is installed
>
>>   i     xcode    6.0.0.0.1.1410400753-1    [virtual package representing
>> the developer tools]
>>   i     xcode.app    6.0.1-1    [virtual package representing Xcode]
>>
>> Error occurs in configure phase:
>>
>> ...
>> echo "x86_64\tx86_64" >> /sw/src/fink.build/apt-0.5.4-
>> 1061/apt-0.5.4/buildlib/archtable
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.kp72s
>> ./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... yes
>> 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... yes
>> checking how to run the C preprocessor... gcc -E
>> 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... configure: error: failed: use --host=
>> ### execution of ./configure failed, exit code 1
>> ### execution of /tmp/fink.kp72s failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-apt-0.5.4-1061
>> (Reading database ... 4465 files and directories currently installed.)
>> Removing fink-buildlock-apt-0.5.4-1061 ...
>> Failed: 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-beginn...@lists.sourceforge.net
>> <mailto:fink-beginn...@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.1
>> Distribution version: selfupdate-rsync Sat Sep 27 09:02:31 2014, 10.9,
>> x86_64
>> Trees: local/main stable/main
>> Xcode.app: 6.0.1
>> Xcode command-line tools: 6.0.0.0.1.1410400753
>> Max. Fink build jobs:  1
>>
>>
>
> This appears to be new.
>
> If you look in /sw/src/fink.build/apt-0.5.4-1061/apt-0.5.4/config.log
> after about line 44 you should see "configure:1434: checking system
> architecture" followed presumably by the test program which failed.
> Could you post back with that?
>

Also, since apt isn't strictly required, you can do a manual install by 
downloading apt and apt-shlibs from

http://bindist.finkmirrors.net/10.9/dists/stable/main/binary-darwin-x86_64/base/

Set up your Fink environment by running "/sw/bin/pathsetup.sh" in a 
terminal, and then use

sudo dpkg -i /path/to/apt-shlibs_0.5.4-1061_darwin-x86_64.deb
sudo dpkg -i /path/to/apt_0.5.4-1061_darwin-x86_64.deb

However, it would still be good to try to debug why your apt build 
failed, since other packages may fail for the same reason.
-- 
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-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to