[browsershots-factories] OS X factory install issues.. [cpp fails
sanity check]
Benjamin Hunt
benj1989 at hotmail.com
Wed Dec 26 17:25:20 CET 2007
Hi,
I didn't had any problem, but i used Fink...
Have a nice day,
Benjamin
Op 26-dec-07, om 07:53 heeft cameron conner het volgende geschreven:
> This may not be the perfect place but I was wondering if other mac
> shotfactory admins had
> this issue ever..
>
> I was playing around, considering the viability of putting a
> shotfactory on my MBP on a
> guest account or something, and limiting the upload speed for it.
> so I downloaded
> shotfactory and mac ports, and proceeded to do basically what I did
> in the past on my
> linux box, however, I ran into an issue with macports and cpp-4.0.
> For some reason it
> fails the sanity check. I'm not really sure why. My mbp is all
> updated, devtools
> installed, etc. Can anyone shed light on the issue?
>
> (oh, and for some reason, I can't call macports with just 'sudo
> port', I have to use the
> full path..)
>
> i looked around on the macports site (and google) but I couldn't
> find any solutions.
>
> ---
> TARDIS:~ cameron$ sudo /opt/local/bin/port install subversion
> ---> Fetching apr
> ---> Attempting to fetch apr-1.2.12.tar.bz2 from http://
> www.apache.org/dist/apr
> ---> Verifying checksum(s) for apr
> ---> Extracting apr
> ---> Configuring apr
> Error: Target org.macports.configure returned: configure failure:
> shell command " cd
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel
> _apr/work/apr-1.2.12"
> && ./configure --prefix=/opt/local --with-installbuilddir=/opt/
> local/share/apr-1/build "
> returned error 1
> Command output: checking build system type... i386-apple-darwin8.11.1
> checking host system type... i386-apple-darwin8.11.1
> checking target system type... i386-apple-darwin8.11.1
> Configuring APR library
> Platform: i386-apple-darwin8.11.1
> checking for working mkdir -p... yes
> APR Version: 1.2.12
> checking for chosen layout... apr
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/gcc-4.0 accepts -g... yes
> checking for /usr/bin/gcc-4.0 option to accept ISO C89... unsupported
> Applying APR hints file rules for i386-apple-darwin8.11.1
> adding "-DDARWIN" to CPPFLAGS
> adding "-DSIGPROCMASK_SETS_THREAD_MASK" to CPPFLAGS
> adding "-no-cpp-precomp" to CPPFLAGS
> setting apr_posixsem_is_global to "yes"
> setting ac_cv_func_poll to "no"
> setting ac_cv_func_kqueue to "no"
> (Default will be unix)
> checking whether make sets $(MAKE)... yes
> checking how to run the C preprocessor... /usr/bin/cpp-4.0
> configure: error: C preprocessor "/usr/bin/cpp-4.0" fails sanity check
> See `config.log' for more details.
>
> Error: The following dependencies failed to build: apr apr-util
> db44 expat libiconv
> sqlite3 gawk gettext readline ncurses ncursesw neon openssl zlib
> Error: Status 1 encountered during processing.
> TARDIS:~ cameron$
> ---
>
> So, I installed that via the alternative method of the .pkg file.
> However, I get the same
> issue with netpbm:
>
> ---
> TARDIS:~ cameron$ sudo /opt/local/bin/port install netpbm
> ---> Fetching jpeg
> ---> Attempting to fetch jpegsrc.v6b.tar.gz from http://
> www.ijg.org/files
> ---> Attempting to fetch droppatch.tar.gz from http://sylvana.net/
> jpegcrop/
> ---> Verifying checksum(s) for jpeg
> ---> Extracting jpeg
> ---> Applying patches to jpeg
> ---> Configuring jpeg
> ---> Building jpeg with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_jpeg/work/jpeg-6b"
> && make all " returned error 2
> Command output: /usr/include/stdio.h:339: error: parse error before
> '*' token
> /usr/include/stdio.h:340: error: parse error before '*' token
> /usr/include/stdio.h:344: error: parse error before '*' token
> /usr/include/stdio.h:345: error: parse error before 'va_list'
> /usr/include/stdio.h:346: error: parse error before 'va_list'
> /usr/include/stdio.h:347: error: parse error before 'va_list'
> /usr/include/stdio.h:349: error: parse error before '*' token
> /usr/include/stdio.h:358: error: parse error before '*' token
> /usr/include/stdio.h:361: error: parse error before 'fpos_t'
> /usr/include/stdio.h:361: error: parse error before 'fpos_t'
> /usr/include/stdio.h:361: error: 'funopen' declared as function
> returning a function
> /usr/include/stdio.h:373: error: parse error before '*' token
> /usr/include/stdio.h:374: error: parse error before '*' token
> /usr/include/stdio.h:375: error: parse error before 'FILE'
> /usr/include/stdio.h:384: error: parse error before 'FILE'
> /usr/include/stdio.h: In function '__sputc':
> /usr/include/stdio.h:385: error: '_p' undeclared (first use in this
> function)
> /usr/include/stdio.h:385: error: (Each undeclared identifier is
> reported only once
> /usr/include/stdio.h:385: error: for each function it appears in.)
> /usr/include/stdio.h:385: error: '_c' undeclared (first use in this
> function)
> In file included from /usr/include/strings.h:60,
> from ./jinclude.h:60,
> from ./jcapimin.c:20:
> /usr/include/string.h: At top level:
> /usr/include/string.h:70: error: parse error before 'ssize_t'
> /usr/include/string.h:131: error: parse error before 'ssize_t'
> In file included from ./jcapimin.c:21:
> ./jpeglib.h:910: error: parse error before 'FILE'
> ./jpeglib.h:911: error: parse error before 'FILE'
> make: *** [jcapimin.lo] Error 1
>
> Error: The following dependencies failed to build: jasper jpeg
> libpng zlib tiff
> Error: Status 1 encountered during processing.
> TARDIS:~ cameron$
> ---
>
> peace, cameron
> --
> <http://cameronconner.name>
> <http://theopticalone.com>
> AIM&Y!: desk003com
> _______________________________________________
> browsershots-factories mailing list
> browsershots-factories at lists.browsershots.org
> http://lists.browsershots.org/mailman/listinfo/browsershots-factories
More information about the browsershots-factories
mailing list