Building iPhone for WindowsXP with Cygwin - iphone

"Write native iPhone applications using Eclipse
CDT
How Windows and Linux developers can bypass the iPhone
SDK and write iPhone apps using open source tools"
by PJ Cabrera (pjcabrera#pobox.com)
I was following the instructions from this document and thought I made it pretty far, but I get an error and wondered if you know what is going on.
When I enter the command, it starts to compile. After about 30 minutes, I get to the error you see below.
./make-toolchain.sh
Here is the error:
test -d po || mkdir po
checking whether getopt is declared... /cygdrive/c/downloads/mono/Mono-2.4/bin/m
sgfmt --statistics -o po/be.gmo /cygdrive/c/projects/tools/home/iphone-2.0-toolc
hain/src/gcc/libcpp/po/be.po
c:\downloads\mono\Mono-2.4\bin\msgfmt.exe: error while opening "/cygdrive/c/proj
ects/tools/home/iphone-2.0-toolchain/src/gcc/libcpp/po/be.po" for reading: No su
ch file or directory
make[2]: *** [po/be.gmo] Error 1
make[2]: Leaving directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain
/build/gcc-4.2-iphone/libcpp'
make[1]: *** [all-libcpp] Error 2
make[1]: *** Waiting for unfinished jobs....
no
checking whether clock is declared... yes
checking whether getpagesize is declared... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgetc_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fileno_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether ldgetname is declared... no
checking whether times is declared... yes
checking whether sigaltstack is declared... no
checking for struct tms... yes
checking for clock_t... yes
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
For real value is
For real value is
Using `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/arm/arm.c' for machine-specific logic.
Using `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/'
for machine-specific C++ logic.
Using `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/a
rm/arm.md' as machine description file.
Using the following target machine macro files:
/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/arm/arm.h
/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/darwin.h
/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/darwin9.h
/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/arm/darwin.h
/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/arm/darwin.h
Using `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/config/i386/xm-cygwin.h' as host machine macro file.
Using host-cygwin.o for host machine hooks.
checking whether NLS is requested... yes
checking for catalogs to be installed... be ca da de el es fr ja nl ru rw sr sv
tr zh_CN zh_TW
checking for library containing RegOpenKeyExA... no
checking what assembler to use... /usr/local/bin/arm-apple-darwin9-as
checking what linker to use... /usr/local/bin/arm-apple-darwin9-ld
checking for arm-apple-darwin9-nm... /usr/local/bin/arm-apple-darwin9-nm
checking what nm to use... /usr/local/bin/arm-apple-darwin9-nm
checking for arm-apple-darwin9-objdump... no
checking what objdump to use... not found
checking assembler for .balign and .p2align... no
checking assembler for .p2align with maximum skip... yes
checking assembler for .literal16... yes
checking assembler for working .subsection -1... no
checking assembler for .weak... no
checking assembler for .weakref... no
checking assembler for .nsubspa comdat... no
checking assembler for .hidden... no
checking linker for .hidden support... no
checking assembler for .sleb128 and .uleb128... no
checking assembler for eh_frame optimization... no
checking assembler for section merging support... no
checking assembler for section merging support... (cached) no
checking assembler for COMDAT group support... no
checking assembler for COMDAT group support... no
checking assembler for thread-local storage support... no
checking linker -Bstatic/-Bdynamic option... no
checking assembler for dwarf2 debug_line support... no
checking assembler for buggy dwarf2 .file directive... no
checking assembler for --gdwarf2 option... no
checking assembler for --gstabs option... yes
checking linker read-only and read-write section mixing... unknown
checking linker PT_GNU_EH_FRAME support... no
checking linker position independent executable support... no
checking linker --as-needed support... no
checking linker --sysroot support... no
checking __stack_chk_fail in target C library... checking for __stack_chk_fail..
. no
no __stack_chk_fail on this target
no
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a cross-compiler
from i686-pc-cygwin to arm-apple-darwin9.
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gccbug
config.status: creating mklibgcc
config.status: creating libada-mk
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing default commands
make[1]: Leaving directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain
/build/gcc-4.2-iphone'
make: *** [all] Error 2
This script requires that you enter the proper administrator password
in order to install gcc-4.2-iphone in /usr/local
make[1]: Entering directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchai
n/build/gcc-4.2-iphone'
/bin/sh /cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/mkinstalldirs /usr/local /usr/local
make[2]: Entering directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/build/gcc-4.2-iphone/fixincludes'
rm -rf /usr/local/libexec/gcc/arm-apple-darwin9/4.2.1/install-tools
/bin/sh /cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/fixincludes
/../mkinstalldirs /usr/local/libexec/gcc/arm-apple-darwin9/4.2.1/install-tools
mkdir -p -- /usr/local/libexec/gcc/arm-apple-darwin9/4.2.1/install-tools
/bin/sh /cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/fixincludes
/../mkinstalldirs /usr/local/lib/gcc/arm-apple-darwin9/4.2.1/install-tools/include
/usr/bin/install -c -m 644 /cygdrive/c/projects/tools/home/iphone-2.0-toolchain/
src/gcc/fixincludes/README-fixinc \
/usr/local/lib/gcc/arm-apple-darwin9/4.2.1/install-tools/include/READM
E
/usr/bin/install -c fixinc.sh /usr/local/libexec/gcc/arm-apple-darwin9/4.2.1/ins
tall-tools/fixinc.sh
/usr/bin/install -c fixincl.exe \
/usr/local/libexec/gcc/arm-apple-darwin9/4.2.1/install-tools/fixincl.e
xe
/usr/bin/install -c mkheaders /usr/local/libexec/gcc/arm-apple-darwin9/4.2.1/ins
tall-tools/mkheaders
make[2]: Leaving directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain
/build/gcc-4.2-iphone/fixincludes'
make[2]: Entering directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/build/gcc-4.2-iphone/gcc'
test -d po || mkdir po
/cygdrive/c/downloads/mono/Mono-2.4/bin/msgfmt --statistics -o po/be.gmo /cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/po/be.po
c:\downloads\mono\Mono-2.4\bin\msgfmt.exe: error while opening "/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/gcc/po/be.po" for reading: No such
file or directory
make[2]: *** [po/be.gmo] Error 1
make[2]: Leaving directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain
/build/gcc-4.2-iphone/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/cygdrive/c/projects/tools/home/iphone-2.0-toolchain
/build/gcc-4.2-iphone'
make: *** [install] Error 2
I also find it strange that msgfmt would be executed, from Mono? Why is mono or .net used for this build?
I have a win32/windowsxp system, intel dual core.
"g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."

From the looks of what code you have above, you are using cygwin to compile some tools for Windows.
Your compile stopped cold because it can't find:
/cygdrive/c/projects/tools/home/iphone-2.0-toolchain/src/gcc/libcpp/po/be.p
Which looks like it is looking for some part of libcpp and cant find it. You can probably solve this by re-running the Cygwin installer and choosing libcpp when you do.
On a side note, I would advise not doing trying to run iPhone dev tools on Windows. It's nowhere near the same experience you will get on Mac OS X and you will run into many many frustrations as above.
These hacks are generally only for hardcore coders with the chops to use a hacked IDE on a non-standard environment. If you cannot understand the warning message above (which is fairly simple for anyone who has used gcc), don't feel bad but you probably don't have the skill to accomplish what you are attempting.
My advice: Buy yourself a Mac mini if you don't want to spend much money, the tools come with the Mac and you will be able to have fun writing iPhone apps without the frustration of wondering when your development environment will next break. In addition, when something isn't working right you won't have to worry whether it is your hacked dev environment or a problem with your code.
You also won't be able to submit your app to the iPhone AppStore, and Apple really frown on doing this so you won't get any help from Apple and probably any other iPhone dev's if they find out your doing this.
Good luck!

Related

Error in ./configure step in installation of libpqxx

this is a bit of a long shot but:
I'm following this guide: https://www.tutorialspoint.com/postgresql/postgresql_c_cpp.htm
But when running ./configure I get the following error:
(previous checking lines omitted for brevity)
checking for main in -lpq... yes
checking for PQexec in -lpq... yes
checking for correct C++ linkage of basic libpq functions...
sed: character class syntax is [[:space:]], not [:space:]
configure: error:
Linking a call to libpq failed in C++, even though it succeeded in C. If your
C and C++ compilers are very different beasts, this may mean that we do not have
the right options for linking with it after all.
Read the config.log file for more detailed information. Look for the last error
message, which may be several pages up from the end of the file.
And the configure.log file looks like this:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libpqxx configure 4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
(some lines omitted)
configure:3039: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3050: $? = 1
configure:3039: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
(some lines omitted)
configure:7629: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
(some lines omitted)
configure:8319: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
(some lines omitted)
configure:16424: g++ -o conftest -g -O2 -L/usr/lib/x86_64-linux-gnu conftest.cpp >&5
/tmp/ccfFBf4K.o: In function `main':
/home/peter/libpqxx-4.0/conftest.cpp:44: undefined reference to `PQexec'
collect2: error: ld returned 1 exit status
(some liens omitted)
I don't believe I have any packages missing. I have the newest version of g++, psql and libpqxx installed.
I have updated and upgraded all packages on my system.
I have crawled the web for solutions to this error, but I have no clue what is wrong.
Do you have an idea where I can go from here?
There hasn't been a tarball release of libpqxx at the old spot in a long time, so the tutorial you used with its wget command to download the tarball is very outdated.
The issue you encountered looks related to this issue and appears to have been fixed in this commit:
commit 85e9336740475be25ed19924cca0961f7d844c4b
Author: Jeroen Vermeulen <jtvjtv#gmail.com>
Date: Thu Jun 1 11:39:08 2017 +0700
Fix #13: not linking to libpq.
This was that annoying interaction between autoconf, m4, GNU sed syntax,
and the shell which broke the "remove redundant -lpq options" code in
the configure script.
Solution: forget about GNU sed's "[[:space:]]" syntax, and just look for
a literal space. There aren't going to be any tabs, newlines,
non-breaking spaces, etc. there in even a moderately sane world.

Ganglia installations fails in centos7 (rrd_create in -lrrd... no)

When i try to install ganglia in centos7, I am getting following error
Configuring libmetrics ...
checking for pthread_create in -lpthread... yes
checking for pthread_create in -lpthreads... no
checking rrd.h usability... yes
checking rrd.h presence... yes
checking for rrd.h... yes
checking for rrd_create in -lrrd... no
Trying harder by including the X library path
checking for rrd_create in -lrrd... no
But I have rrd tool already installed
rrdtool -v
RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker <tobi#oetiker.ch>
Compiled Nov 20 2015 19:23:48
configure command:
./configure LDFLAGS="-L/usr/lib64" --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gmetad --enable-status --sysconfdir=/etc/ganglia
Answer:
On looking at config.log file we see
/usr/lib64/libEGL.so.1: undefined reference to `drmFreeDevice'
symbols of libEGL.so are not available. hence did update which fixed the issue.
sudo yum -y update -- fixed the issue

Installing XML::DOM module fails

I couldn't find any solution for two weeks.!!!!
I try to install CPAN Modules using the cpan.exe.
When I try to install a module with "install XML::DOM" fails stating dmake.exe is NOT OK,
here is my error:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\ehsan\Documents>cpan
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
There seems to be running another CPAN process (pid 5932). Contacting...
Other job not responding. Shall I overwrite the lockfile 'C:\Perl\cpan\.lock'
Y/n) [y] y
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
cpan> install XML::DOM
Reading 'C:\Perl\cpan\Metadata'
Database was generated on Thu, 24 Oct 2013 11:09:28 GMT
Running install for module 'XML::DOM'
Running make for T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\T\TJ\TJMATHER\XML-DOM-1.44.tar.g
k
Scanning cache C:\Perl/cpan/build for sizes
............................................................................D
XML-DOM-1.44/
XML-DOM-1.44/lib/
XML-DOM-1.44/lib/XML/
XML-DOM-1.44/lib/XML/DOM/
XML-DOM-1.44/lib/XML/DOM/DocumentType.pod
XML-DOM-1.44/lib/XML/DOM/DocumentFragment.pod
XML-DOM-1.44/lib/XML/DOM/AttlistDecl.pod
XML-DOM-1.44/lib/XML/DOM/Notation.pod
XML-DOM-1.44/lib/XML/DOM/Attr.pod
XML-DOM-1.44/lib/XML/DOM/ProcessingInstruction.pod
XML-DOM-1.44/lib/XML/DOM/Entity.pod
XML-DOM-1.44/lib/XML/DOM/Document.pod
XML-DOM-1.44/lib/XML/DOM/Parser.pod
XML-DOM-1.44/lib/XML/DOM/NodeList.pm
XML-DOM-1.44/lib/XML/DOM/Node.pod
XML-DOM-1.44/lib/XML/DOM/ElementDecl.pod
XML-DOM-1.44/lib/XML/DOM/EntityReference.pod
XML-DOM-1.44/lib/XML/DOM/NodeList.pod
XML-DOM-1.44/lib/XML/DOM/CharacterData.pod
XML-DOM-1.44/lib/XML/DOM/DOMException.pm
XML-DOM-1.44/lib/XML/DOM/PerlSAX.pm
XML-DOM-1.44/lib/XML/DOM/NamedNodeMap.pm
XML-DOM-1.44/lib/XML/DOM/NamedNodeMap.pod
XML-DOM-1.44/lib/XML/DOM/Comment.pod
XML-DOM-1.44/lib/XML/DOM/Element.pod
XML-DOM-1.44/lib/XML/DOM/XMLDecl.pod
XML-DOM-1.44/lib/XML/DOM/CDATASection.pod
XML-DOM-1.44/lib/XML/DOM/DOMImplementation.pod
XML-DOM-1.44/lib/XML/DOM/Text.pod
XML-DOM-1.44/lib/XML/DOM/AttDef.pod
XML-DOM-1.44/lib/XML/DOM.pm
XML-DOM-1.44/lib/XML/Handler/
XML-DOM-1.44/lib/XML/Handler/BuildDOM.pm
XML-DOM-1.44/t/
XML-DOM-1.44/t/dom_jp_minus.t
XML-DOM-1.44/t/dom_noexpand.t
XML-DOM-1.44/t/dom_template.t
XML-DOM-1.44/t/dom_jp_cdata.t
XML-DOM-1.44/t/dom_jp_modify.t
XML-DOM-1.44/t/dom_text.t
XML-DOM-1.44/t/dom_cdata.t
XML-DOM-1.44/t/dom_jp_attr.t
XML-DOM-1.44/t/dom_extent.t
XML-DOM-1.44/t/dom_minus.t
XML-DOM-1.44/t/dom_attr.t
XML-DOM-1.44/t/dom_encode.t
XML-DOM-1.44/t/dom_jp_example.t
XML-DOM-1.44/t/dom_extent.ent
XML-DOM-1.44/t/dom_jp_print.t
XML-DOM-1.44/t/dom_documenttype.t
XML-DOM-1.44/t/dom_extent.dtd
XML-DOM-1.44/t/dom_jp_astress.t
XML-DOM-1.44/t/build_dom.t
XML-DOM-1.44/t/dom_print.t
XML-DOM-1.44/t/dom_astress.t
XML-DOM-1.44/t/dom_modify.t
XML-DOM-1.44/t/dom_example.t
XML-DOM-1.44/FAQ.xml
XML-DOM-1.44/Changes
XML-DOM-1.44/MANIFEST
XML-DOM-1.44/META.yml
XML-DOM-1.44/CmpDOM.pm
XML-DOM-1.44/samples/
XML-DOM-1.44/samples/minutes.xml
XML-DOM-1.44/samples/REC-xml-19980210.xml
XML-DOM-1.44/BUGS
XML-DOM-1.44/CheckAncestors.pm
XML-DOM-1.44/XML-Parser-2.31.patch
XML-DOM-1.44/Makefile.PL
XML-DOM-1.44/README
CPAN.pm: Building T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
Checking if your kit is complete...
Looks good
Warning: prerequisite XML::Parser::PerlSAX 0.07 not found.
Warning: prerequisite XML::RegExp 0 not found.
Writing Makefile for XML-DOM
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- TJMATHER/XML-DOM-1.44.tar.gz ----
XML::Parser::PerlSAX [requires]
XML::RegExp [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'XML::Parser::PerlSAX'
Running make for K/KM/KMACLEOD/libxml-perl-0.08.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\K\KM\KMACLEOD\libxml-perl-0.08.t
gz ok
libxml-perl-0.08/
libxml-perl-0.08/lib/
libxml-perl-0.08/lib/XML/
libxml-perl-0.08/lib/XML/Handler/
libxml-perl-0.08/lib/XML/Handler/Subs.pm
libxml-perl-0.08/lib/XML/Handler/CanonXMLWriter.pm
libxml-perl-0.08/lib/XML/Handler/Sample.pm
libxml-perl-0.08/lib/XML/Handler/XMLWriter.pm
libxml-perl-0.08/lib/XML/PatAct/
libxml-perl-0.08/lib/XML/PatAct/ActionTempl.pm
libxml-perl-0.08/lib/XML/PatAct/PatternTempl.pm
libxml-perl-0.08/lib/XML/PatAct/Amsterdam.pm
libxml-perl-0.08/lib/XML/PatAct/MatchName.pm
libxml-perl-0.08/lib/XML/PatAct/ToObjects.pm
libxml-perl-0.08/lib/XML/SAX2Perl.pm
libxml-perl-0.08/lib/XML/Perl2SAX.pm
libxml-perl-0.08/lib/XML/ESISParser.pm
libxml-perl-0.08/lib/XML/Parser/
libxml-perl-0.08/lib/XML/Parser/PerlSAX.pm
libxml-perl-0.08/lib/Data/
libxml-perl-0.08/lib/Data/Grove/
libxml-perl-0.08/lib/Data/Grove/Parent.pm
libxml-perl-0.08/lib/Data/Grove/Visitor.pm
libxml-perl-0.08/lib/Data/Grove.pm
libxml-perl-0.08/doc/
libxml-perl-0.08/doc/CreatingPatActModules.pod
libxml-perl-0.08/doc/interface-style.pod
libxml-perl-0.08/doc/modules.xml
libxml-perl-0.08/doc/sax-2.0-adv.html
libxml-perl-0.08/doc/UsingPatActModules.pod
libxml-perl-0.08/doc/PerlSAX.pod
libxml-perl-0.08/doc/mirror.sh
libxml-perl-0.08/doc/sax-2.0.html
libxml-perl-0.08/doc/UsingPerlSAX.pod
libxml-perl-0.08/doc/index.html
libxml-perl-0.08/Changes
libxml-perl-0.08/MANIFEST
libxml-perl-0.08/examples/
libxml-perl-0.08/examples/schema.xml
libxml-perl-0.08/examples/MyHandler.pm
libxml-perl-0.08/examples/myhandler.xml
libxml-perl-0.08/examples/myhandler.pl
libxml-perl-0.08/examples/schema.pl
libxml-perl-0.08/examples/perlsax-test.pl
libxml-perl-0.08/examples/esis-test.pl
libxml-perl-0.08/t/
libxml-perl-0.08/t/schema.t
libxml-perl-0.08/t/stream.t
libxml-perl-0.08/t/xp_sax.t
libxml-perl-0.08/t/subs.t
libxml-perl-0.08/t/canon_xml_writer.t
libxml-perl-0.08/t/amsterdam.t
libxml-perl-0.08/ChangeLog
libxml-perl-0.08/libxml-perl.spec
libxml-perl-0.08/libxml-perl-0.08.spec
libxml-perl-0.08/Makefile.PL
libxml-perl-0.08/README
CPAN.pm: Building K/KM/KMACLEOD/libxml-perl-0.08.tar.gz
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
Checking if your kit is complete...
Looks good
Writing Makefile for libxml-perl
Writing MYMETA.yml and MYMETA.json
CreateProcess failed (2).
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib': No such
e or directory
dmake.exe: Error code -1, while making 'blib\lib\.exists'
KMACLEOD/libxml-perl-0.08.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running install for module 'XML::RegExp'
Running make for T/TJ/TJMATHER/XML-RegExp-0.04.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\T\TJ\TJMATHER\XML-RegExp-0.04.ta
z ok
XML-RegExp-0.04/
XML-RegExp-0.04/META.yml
XML-RegExp-0.04/test.pl
XML-RegExp-0.04/README
XML-RegExp-0.04/Changes
XML-RegExp-0.04/MANIFEST
XML-RegExp-0.04/lib/
XML-RegExp-0.04/lib/XML/
XML-RegExp-0.04/lib/XML/RegExp.pm
XML-RegExp-0.04/Makefile.PL
CPAN.pm: Building T/TJ/TJMATHER/XML-RegExp-0.04.tar.gz
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
Checking if your kit is complete...
Looks good
Writing Makefile for XML::RegExp
Writing MYMETA.yml and MYMETA.json
CreateProcess failed (2).
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib\XML': No s
file or directory
dmake.exe: Error code -1, while making 'blib\lib\XML\.exists'
TJMATHER/XML-RegExp-0.04.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Has already been unwrapped into directory C:\Perl\cpan\build\XML-DOM-1.44-P
El
CPAN.pm: Building T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Warning: Prerequisite 'XML::Parser::PerlSAX => 0.07' for 'TJMATHER/XML-DOM-1.
tar.gz' failed when processing 'KMACLEOD/libxml-perl-0.08.tar.gz' with 'make
NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'XML::RegExp => 0' for 'TJMATHER/XML-DOM-1.44.tar.gz' f
ed when processing 'TJMATHER/XML-RegExp-0.04.tar.gz' with 'make => NO'. Conti
ng, but chances to succeed are limited.
CreateProcess failed (2).
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib': No such
e or directory
dmake.exe: Error code -1, while making 'blib\lib\.exists'
TJMATHER/XML-DOM-1.44.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
KMACLEOD/libxml-perl-0.08.tar.gz : make NO
TJMATHER/XML-DOM-1.44.tar.gz : make NO
TJMATHER/XML-RegExp-0.04.tar.gz : make NO
i asked this question in Perlmonks and i got this answer :
"Looks like you are (or have been) using MKS, which can confuse things such as which shell dmake invokes and so on. I suggest you remove it (the path to MKS) from your system PATH variable (example). Once you've done this start a new command prompt and retry the installation"
what should i do?
I see a problem here:
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib': No such
e or directory
dmake.exe: Error code -1, while making 'blib\lib\.exists'
TJMATHER/XML-DOM-1.44.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Your dmake call comes from a Strawberry Perl installation, and it invokes what looks like ActivePerl. Down that PATH lies madness. If you want to use CPAN with Strawberry Perl, then remove the ActivePerl directories from your PATH.
Specifically, try this:
set PATH C:\STRAWB~1\perl\bin;C:\STRAWB~1\c\bin
cpan XML::DOM
Your key is probably here:
Warning: Prerequisite 'XML::Parser::PerlSAX => 0.07' for 'TJMATHER/XML-DOM-1.
tar.gz' failed when processing 'KMACLEOD/libxml-perl-0.08.tar.gz' with 'make
NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'XML::RegExp => 0' for 'TJMATHER/XML-DOM-1.44.tar.gz' f
ed when processing 'TJMATHER/XML-RegExp-0.04.tar.gz' with 'make => NO'. Conti
ng, but chances to succeed are limited.
You need to have XML::Parser::PerlSAX and XML::RegExp installed first.

Not able to compile PJSIP on Ubuntu for Blackberry 10

I am trying to compile PJSIP on Ubuntu according to this document:
http://supportforums.blackberry.com/t5/Native-Development/Porting-PJSIP-PJMEDIA-and-PJLIB-to-BlackBerry-10/ta-p/2085751
When I am executing this command: ./buildpjsip (it's on number 8 in document), it is showing these errors:
cp: cannot create regular file /x86/lib': No such file or directory
/home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts
/home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build/trunk /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts
Makefile:1: build.mak: No such file or directory
Makefile:2: build/host-.mak: No such file or directory
make: *** No rule to make target `build/host-.mak'. Stop.
checking build system type... i686-pc-linux-gnu
checking host system type... i486-pc-nto-qnx8.0.0
checking target system type... i486-pc-nto-qnx8.0.0
checking for i486-pc-nto-qnx8.0.0-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
aconfigure: error: in `/home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build/trunk':
aconfigure: error: C compiler cannot create executables
See `config.log' for more details
Makefile:1: build.mak: No such file or directory
Makefile:2: build/host-.mak: No such file or directory
make: *** No rule to make target `build/host-.mak'. Stop.
Makefile:1: build.mak: No such file or directory
Makefile:2: build/host-.mak: No such file or directory
make: *** No rule to make target `build/host-.mak'. Stop.
/home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts
adding: libopencore-amrwb.a (deflated 67%) adding: libopencore-amrnb.a (deflated 70%)
/home/ahsish/bb10-pjsipdemo-master/pjbuildscripts*
I also encountered the issue before and solved it successfully. I think what results in the issue is that, after you executed the step 4 in the document: Execute bbndk-env.bat or bbndk-env.sh from the root of your installation of the Native SDK. You shouldn't close the command prompt or open a new terminal. I mean you should execute the rest steps in the same terminal, then you will build the library successfully. Also, you had better ensure your gcc is the newest version. Good luck for you.
You could try first:
$ cd bb10-pjsipdemo/pjbuildscripts/pjsip-checkout/trunk
$ ./configure
$ touch pjlib/include/pj/config_site.h
$ make dep
$ make
Reference: http://www.pjsip.org/pjlib/docs/html/pjlib_build_sys_pg.htm
And then run bb10-pjsipdemo/pjbuildscripts/buildpjsip

Error in ./configure in solaris 11

Okay i am trying to install BIND on solaris 11.
Upon downloading the tar file using wget, then i used extract it out.
After which, when i enter the command :
./configure
i face the following error
checking <<some stuff>>
..
..
..
checking <<some stuff>>
checking whether we are cross compiling... configure: error: in '/home/user/user/downloads/bind9.8.2
configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.
so i used --host in my option, but i cant get it to work,
For example, i entered the below command :
./configure --host=ulinux-uclibc
I received an error saying
checking host system type... Invalid configuration 'ulinux-uclibc': machine 'ulinux' not recognized
Thanks! :)
Why not just install the bind package from your configured solaris publisher?
# pkg install network/dns/bind service/network/dns/bind
should get you exactly what you need. That will get you ISC Bind v9.6.3 if you use pkg.oracle.com/solaris/release publisher.