Overview
Features
Download
Documentation
Community
Add-Ons & Services

cannot build on linux

Please post support and help requests here.

cannot build on linux

Postby connorsrm » 23 Jun 2014, 22:20

hello all,

I'm not a linux poweruser by any way shape or form. I've recently programmed an application that utilized the poco library to compare generated xmls for validity. It runs great in a windows environment and the source is platform independant. Now is the time to test the independance by compiling the source in a linux environment to perform these tests.

Unfortunately I cannot seem to build the poco libraries to do so.

Here is my exact terminal exchange.
1.) gunzip the gz was already done.

Code: Select all
[root@localhose Poco_Library]# tar -xf poco-1.4.6p4-all.tar
[root@localhose Poco_Library]# cd poco-1.4.6p4-all
[root@localhose poco-1.4.6p4-all]# ./configure
Configured for Linux
[root@localhose poco-1.4.6p4-all]# gmake -s
** Creating dependency info for src/SyslogChannel.cpp
gcc: error trying to exec 'cc1plus': execvp : No such file or directory
** Creating dependency info for src/pcre_tables.c
** Creating dependency info for src/pcre_ucd.c
** Creating dependency info for src/pcre_xclass.c
** Creating dependency info for src/pcre_fullinfo.c
** Creating dependency info for src/pcre_newline.c
** Creating dependency info for src/pcre_ord2utf8.c
** Creating dependency info for src/pcre_exec.c
** Creating dependency info for src/pcre_valid_utf8.c
** Creating dependency info for src/pcre_try_flipped.c
** Creating dependency info for src/pcre_study.c
** Creating dependency info for src/pcre_maketables.c
** Creating dependency info for src/pcre_globals.c
** Creating dependency info for src/pcre_compile.c
** Creating dependency info for src/pcre_chartables.c
** Creating dependency info for src/zutil.c
** Creating dependency info for src/trees.c
** Creating dependency info for src/inftrees.c
** Creating dependency info for src/inflate.c
** Creating dependency info for src/inffast.c
** Creating dependency info for src/infback.c
** Creating dependency info for src/deflate.c
** Creating dependency info for src/crc32.c
** Creating dependency info for src/compress.c
** Creating dependency info for src/adler32.c
** Creating dependency info for src/AtomicCounter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/UTF8String.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Unicode.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/FileStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/MemoryStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SharedMemory.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DynamicAnyHolder.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DynamicAny.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/PipeStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/PipeImpl.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Pipe.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Format.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Void.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/UUIDGenerator.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/UUID.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/UnicodeConverter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/UTF8Encoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Windows1252Encoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/UTF16Encoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/URIStreamOpener.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/URIStreamFactory.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/FileStreamFactory.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/URI.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Token.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Timezone.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Timestamp.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Timespan.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Timer.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ActiveDispatcher.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ThreadTarget.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ThreadPool.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ThreadLocal.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Thread.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TextBufferIterator.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TextIterator.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TextEncoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TextConverter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TemporaryFile.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/HashStatistic.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Hash.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TeeStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TaskNotification.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TaskManager.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Task.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SynchronizedObject.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/StringTokenizer.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/String.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/StreamTokenizer.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/StreamCopier.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/StreamConverter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/StreamChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Stopwatch.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SplitterChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SignalHandler.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SimpleFileChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SharedLibrary.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Semaphore.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/SHA1Engine.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Condition.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/RotateStrategy.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Runnable.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/RefCountedObject.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/RegularExpression.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/RandomStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Random.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/RWLock.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/PurgeStrategy.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Process.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/PatternFormatter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Path.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/AbstractObserver.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NumberParser.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NumberFormatter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NullStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/TimedNotificationQueue.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/PriorityNotificationQueue.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NotificationQueue.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NotificationCenter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Notification.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NestedDiagnosticContext.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Mutex.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Message.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Manifest.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/MD5Engine.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/MD4Engine.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/MemoryPool.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NullChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NamedMutex.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/NamedEvent.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/LogStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/LoggingRegistry.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/LoggingFactory.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Logger.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/LogFile.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Latin9Encoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Latin1Encoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/InflatingStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/HexBinaryEncoder.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/LineEndingConverter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/HexBinaryDecoder.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/FormattingChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Formatter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/FileChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Glob.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/File.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/FPEnvironment.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Exception.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ErrorHandler.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/EventArgs.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Event.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Environment.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DirectoryWatcher.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DirectoryIterator.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DigestStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DigestEngine.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DeflatingStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Debugger.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DateTimeParser.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DateTimeFormatter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DateTimeFormat.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/LocalDateTime.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/DateTime.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/CountingStream.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ConsoleChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Configurable.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Checksum.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Channel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ByteOrder.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Bugcheck.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/BinaryWriter.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/BinaryReader.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Base64Encoder.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Base64Decoder.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/AsyncChannel.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ASCIIEncoding.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/Ascii.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Creating dependency info for src/ArchiveStrategy.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
** Compiling src/ArchiveStrategy.cpp (debug, shared)
sh: g++: command not found
gmake[1]: *** [/home/qa/Documents/Poco_Library/poco-1.4.6p4-all/Foundation/obj/Linux/x86_64/debug_shared/ArchiveStrategy.o] Error 127
gmake: *** [Foundation-libexec] Error 2
[root@localhost poco-1.4.6p4-all]# ^C
[root@localhost poco-1.4.6p4-all]# gmake -s install
** Compiling src/ArchiveStrategy.cpp (debug, shared)
sh: g++: command not found
gmake[1]: *** [/home/qa/Documents/Poco_Library/poco-1.4.6p4-all/Foundation/obj/Linux/x86_64/debug_shared/ArchiveStrategy.o] Error 127
gmake: *** [Foundation-libexec] Error 2


I didn't have these issues during my windows compilation and I'm uncertain of how to fix them. Does anyone have any ideas?

Thank you so much in advance.
connorsrm
 
Posts: 1
Joined: 23 Jun 2014, 22:08

Re: cannot build on linux

Postby alex » 24 Jun 2014, 04:09

Something is wrong with your compiler installation; g++ is there but the real compiler binary either isn't there or is somewhere where it can't be found. Google for it, there are various recipes to fix it, depending on the distro.
alex
 
Posts: 1086
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests