Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Getting started with GDC and Tango - svn co is not complete

Moderators: larsivi kris

Posted: 06/13/08 19:39:13

I am trying to get started with GDC, using the tango libraries, and having various stumbles. Originally, I installed GDC gdc (GCC) 4.1.2 20070214 on my Mandriva 2008.1 system. It seemed to work without problems. I read about the Tango library, and decided that I would use that. So I downloaded and ran

tango-0.96-gdc-i686-pc-linux-gnu-withGDC.sh

This replaced the original gdc with an earlier version than the one I installed (why?). I tried to compile a tango console IO program, but this would not work at all:

[parz@lobsang gdc]$ gdc -o tgc tango_console.d
tango_console.d:1: module Console cannot read file 'tango/io/Console.d'

Since that module was present, I assumed there was a problem related to the mixed versions of the original GDC install, and the Tango installer script overwrite of that with an earlier version.

OK, I'll try to build it from source. I restored the original GDC install, patched the gdmd script, and attempted to check out tango 0.99.6. This downloaded a lot of files, but obviously not everything, as there is no "lib" directory to change to, as required to follow the build instructions.

So, I am stuck, and need some help. If someone could explain why or how the binary install of tango failed to work, I would appreciate that too. The log of the svn checkout (to directory "tango" existing in the current working dir "gdc") follows:

[parz@lobsang gdc]$ svn co http://svn.dsource.org/projects/tango/tags/releases/0.99.6/tango
A    tango/text
A    tango/text/Util.d
A    tango/text/locale
A    tango/text/locale/Locale.d
A    tango/text/locale/Convert.d
A    tango/text/locale/Posix.d
A    tango/text/locale/Win32.d
A    tango/text/locale/Collation.d
A    tango/text/locale/Core.d
A    tango/text/locale/Data.d
A    tango/text/locale/Parse.d
A    tango/text/convert
A    tango/text/convert/Integer.d
A    tango/text/convert/Layout.d
A    tango/text/convert/Utf.d
A    tango/text/convert/Sprint.d
A    tango/text/convert/TimeStamp.d
A    tango/text/convert/UnicodeBom.d
A    tango/text/convert/Float.d
A    tango/text/convert/Format.d
A    tango/text/xml
A    tango/text/xml/Document.d
A    tango/text/xml/XmlPrinter.d
A    tango/text/xml/SaxParser.d
A    tango/text/xml/DocPrinter.d
A    tango/text/xml/PullParser.d
A    tango/text/xml/DocTester.d
A    tango/text/UnicodeData.d
A    tango/text/Text.d
A    tango/text/Unicode.d
A    tango/text/Ascii.d
A    tango/text/stream
A    tango/text/stream/LineIterator.d
A    tango/text/stream/SimpleIterator.d
A    tango/text/stream/RegexIterator.d
A    tango/text/stream/StreamIterator.d
A    tango/text/stream/QuoteIterator.d
A    tango/text/Regex.d
A    tango/text/Properties.d
A    tango/net
A    tango/net/http
A    tango/net/http/HttpClient.d
A    tango/net/http/model
A    tango/net/http/model/HttpParamsView.d
A    tango/net/http/HttpGet.d
A    tango/net/http/HttpParams.d
A    tango/net/http/HttpTokens.d
A    tango/net/http/HttpTriplet.d
A    tango/net/http/ChunkStream.d
A    tango/net/http/HttpPost.d
A    tango/net/http/HttpStack.d
A    tango/net/http/HttpConst.d
A    tango/net/http/HttpHeaders.d
A    tango/net/http/HttpCookies.d
A    tango/net/SocketListener.d
A    tango/net/InternetAddress.d
A    tango/net/cluster
A    tango/net/cluster/NetworkCache.d
A    tango/net/cluster/NetworkMessage.d
A    tango/net/cluster/NetworkQueue.d
A    tango/net/cluster/model
A    tango/net/cluster/model/IMessage.d
A    tango/net/cluster/model/IChannel.d
A    tango/net/cluster/model/IConsumer.d
A    tango/net/cluster/model/ICluster.d
A    tango/net/cluster/model/ICache.d
A    tango/net/cluster/CacheInvalidator.d
A    tango/net/cluster/NetworkAlert.d
A    tango/net/cluster/NetworkRegistry.d
A    tango/net/cluster/NetworkCall.d
A    tango/net/cluster/NetworkClient.d
A    tango/net/cluster/CacheInvalidatee.d
A    tango/net/cluster/tina
A    tango/net/cluster/tina/ProtocolWriter.d
A    tango/net/cluster/tina/RollCall.d
A    tango/net/cluster/tina/ClusterTask.d
A    tango/net/cluster/tina/ClusterCache.d
A    tango/net/cluster/tina/ClusterTypes.d
A    tango/net/cluster/tina/ClusterServer.d
A    tango/net/cluster/tina/ClusterThread.d
A    tango/net/cluster/tina/QueueServer.d
A    tango/net/cluster/tina/QueueThread.d
A    tango/net/cluster/tina/CmdParser.d
A    tango/net/cluster/tina/Cluster.d
A    tango/net/cluster/tina/QueueFile.d
A    tango/net/cluster/tina/ProtocolReader.d
A    tango/net/cluster/tina/ClusterQueue.d
A    tango/net/cluster/tina/TaskServer.d
A    tango/net/cluster/tina/CacheServer.d
A    tango/net/cluster/tina/TaskThread.d
A    tango/net/cluster/tina/CacheThread.d
A    tango/net/cluster/tina/util
A    tango/net/cluster/tina/util/ServerThread.d
A    tango/net/cluster/tina/util/model
A    tango/net/cluster/tina/util/model/IServer.d
A    tango/net/cluster/tina/util/AbstractServer.d
A    tango/net/cluster/NetworkTask.d
A    tango/net/cluster/QueuedCache.d
A    tango/net/Uri.d
A    tango/net/SSLSocketConduit.d
A    tango/net/C
A    tango/net/C/OpenSSL.d
A    tango/net/SSLServerSocket.d
A    tango/net/DatagramConduit.d
A    tango/net/ftp
A    tango/net/ftp/FtpClient.d
A    tango/net/ftp/Telnet.d
A    tango/net/model
A    tango/net/model/UriView.d
A    tango/net/SocketConduit.d
A    tango/net/ServerSocket.d
A    tango/net/PKI.d
A    tango/net/Socket.d
A    tango/net/MulticastConduit.d
A    tango/io
A    tango/io/digest
A    tango/io/digest/Digest.d
A    tango/io/digest/MerkleDamgard.d
A    tango/io/digest/Md2.d
A    tango/io/digest/Sha512.d
A    tango/io/digest/Md4.d
A    tango/io/digest/Md5.d
A    tango/io/digest/Sha256.d
A    tango/io/digest/Tiger.d
A    tango/io/digest/Sha0.d
A    tango/io/digest/Crc32.d
A    tango/io/digest/Sha01.d
A    tango/io/digest/Sha1.d
A    tango/io/selector
A    tango/io/selector/model
A    tango/io/selector/model/ISelector.d
A    tango/io/selector/SelectorException.d
A    tango/io/selector/SelectSelector.d
A    tango/io/selector/Selector.d
A    tango/io/selector/AbstractSelector.d
A    tango/io/selector/PollSelector.d
A    tango/io/selector/EpollSelector.d
A    tango/io/archive
A    tango/io/archive/Zip.d
A    tango/io/MappedBuffer.d
A    tango/io/Console.d
A    tango/io/FileConduit.d
A    tango/io/Conduit.d
A    tango/io/TempFile.d
A    tango/io/FileRoots.d
A    tango/io/GrowBuffer.d
A    tango/io/Buffer.d
A    tango/io/compress
A    tango/io/compress/BzipStream.d
A    tango/io/compress/c
A    tango/io/compress/c/zlib.d
A    tango/io/compress/c/bzlib.d
A    tango/io/compress/ZlibStream.d
A    tango/io/stream
A    tango/io/stream/TextFileStream.d
A    tango/io/stream/TypedStream.d
A    tango/io/stream/LineStream.d
A    tango/io/stream/FormatStream.d
A    tango/io/stream/BufferStream.d
A    tango/io/stream/DataFileStream.d
A    tango/io/stream/DataStream.d
A    tango/io/stream/MapStream.d
A    tango/io/stream/EndianStream.d
A    tango/io/stream/SnoopStream.d
A    tango/io/stream/UtfStream.d
A    tango/io/stream/DigestStream.d
A    tango/io/stream/FileStream.d
A    tango/io/stream/GreedyStream.d
A    tango/io/vfs
A    tango/io/vfs/ZipFolder.d
A    tango/io/vfs/model
A    tango/io/vfs/model/Vfs.d
A    tango/io/vfs/LinkedFolder.d
A    tango/io/vfs/VirtualFolder.d
A    tango/io/vfs/FileFolder.d
A    tango/io/model
A    tango/io/model/IConduit.d
A    tango/io/model/IListener.d
A    tango/io/model/IBuffer.d
A    tango/io/File.d
A    tango/io/protocol
A    tango/io/protocol/model
A    tango/io/protocol/model/IWriter.d
A    tango/io/protocol/model/IProtocol.d
A    tango/io/protocol/model/IReader.d
A    tango/io/protocol/Allocator.d
A    tango/io/protocol/EndianProtocol.d
A    tango/io/protocol/Reader.d
A    tango/io/protocol/NativeProtocol.d
A    tango/io/protocol/PickleProtocol.d
A    tango/io/protocol/Writer.d
A    tango/io/Stdout.d
A    tango/io/FileSystem.d
A    tango/io/FileScan.d
A    tango/io/DeviceConduit.d
A    tango/io/FileConst.d
A    tango/io/UnicodeFile.d
A    tango/io/Print.d
A    tango/io/Path.d
A    tango/io/FilePath.d
A    tango/core
A    tango/core/BitArray.d
A    tango/core/Signal.d
A    tango/core/Array.d
A    tango/core/ByteSwap.d
A    tango/core/ThreadPool.d
A    tango/core/Vararg.d
A    tango/core/Variant.d
A    tango/core/Version.d
A    tango/core/Traits.d
A    tango/core/Tuple.d
A    tango/core/sync
A    tango/core/sync/Mutex.d
A    tango/core/sync/Semaphore.d
A    tango/core/sync/Config.d
A    tango/core/sync/Barrier.d
A    tango/core/sync/Condition.d
A    tango/core/sync/ReadWriteMutex.d
A    tango/core/Atomic.d
A    tango/math
A    tango/math/Bessel.d
A    tango/math/ErrorFunction.d
A    tango/math/Probability.d
A    tango/math/Random.d
A    tango/math/Elliptic.d
A    tango/math/IEEE.d
A    tango/math/GammaFunction.d
A    tango/math/Math.d
A    tango/math/Bracket.d
A    tango/group
A    tango/group/time.d
A    tango/group/digest.d
A    tango/group/file.d
A    tango/group/http.d
A    tango/group/convert.d
A    tango/group/log.d
A    tango/group/text.d
A    tango/group/net.d
A    tango/group/math.d
A    tango/group/collection.d
A    tango/group/stream.d
A    tango/stdc
A    tango/stdc/fenv.d
A    tango/stdc/time.d
A    tango/stdc/locale.d
A    tango/stdc/stringz.d
A    tango/stdc/limits.d
A    tango/stdc/stdint.d
A    tango/stdc/config.d
A    tango/stdc/string.d
A    tango/stdc/complex.d
A    tango/stdc/stddef.d
A    tango/stdc/wctype.d
A    tango/stdc/signal.d
A    tango/stdc/inttypes.d
A    tango/stdc/posix
A    tango/stdc/posix/time.d
A    tango/stdc/posix/arpa
A    tango/stdc/posix/arpa/inet.d
A    tango/stdc/posix/setjmp.d
A    tango/stdc/posix/net
A    tango/stdc/posix/net/if_.d
A    tango/stdc/posix/config.d
A    tango/stdc/posix/poll.d
A    tango/stdc/posix/fcntl.d
A    tango/stdc/posix/unistd.d
A    tango/stdc/posix/ucontext.d
A    tango/stdc/posix/signal.d
A    tango/stdc/posix/inttypes.d
A    tango/stdc/posix/stdlib.d
A    tango/stdc/posix/stdio.d
A    tango/stdc/posix/termios.d
A    tango/stdc/posix/semaphore.d
A    tango/stdc/posix/utime.d
A    tango/stdc/posix/netinet
A    tango/stdc/posix/netinet/in_.d
A    tango/stdc/posix/netinet/tcp.d
A    tango/stdc/posix/dirent.d
A    tango/stdc/posix/sched.d
A    tango/stdc/posix/dlfcn.d
A    tango/stdc/posix/pthread.d
A    tango/stdc/posix/pwd.d
A    tango/stdc/posix/sys
A    tango/stdc/posix/sys/time.d
A    tango/stdc/posix/sys/select.d
A    tango/stdc/posix/sys/types.d
A    tango/stdc/posix/sys/wait.d
A    tango/stdc/posix/sys/shm.d
A    tango/stdc/posix/sys/mman.d
A    tango/stdc/posix/sys/socket.d
A    tango/stdc/posix/sys/ipc.d
A    tango/stdc/posix/sys/stat.d
A    tango/stdc/posix/sys/uio.d
A    tango/stdc/stdlib.d
A    tango/stdc/stdio.d
A    tango/stdc/stdarg.d
A    tango/stdc/ctype.d
A    tango/stdc/tgmath.d
A    tango/stdc/errno.d
A    tango/stdc/math.d
A    tango/util
A    tango/util/log
A    tango/util/log/FileAppender.d
A    tango/util/log/Appender.d
A    tango/util/log/Trace.d
A    tango/util/log/MailAppender.d
A    tango/util/log/Configurator.d
A    tango/util/log/Log4Layout.d
A    tango/util/log/SocketAppender.d
A    tango/util/log/PropertyConfigurator.d
A    tango/util/log/DateLayout.d
A    tango/util/log/Hierarchy.d
A    tango/util/log/model
A    tango/util/log/model/ILevel.d
A    tango/util/log/model/IHierarchy.d
A    tango/util/log/Logger.d
A    tango/util/log/EventLayout.d
A    tango/util/log/Log.d
A    tango/util/log/Event.d
A    tango/util/log/ConsoleAppender.d
A    tango/util/log/RollingFileAppender.d
A    tango/util/log/NullAppender.d
A    tango/util/Convert.d
A    tango/util/Arguments.d
A    tango/util/ArgParser.d
A    tango/util/collection
A    tango/util/collection/CircularSeq.d
A    tango/util/collection/TreeMap.d
A    tango/util/collection/model
A    tango/util/collection/model/Comparator.d
A    tango/util/collection/model/MapView.d
A    tango/util/collection/model/View.d
A    tango/util/collection/model/Sortable.d
A    tango/util/collection/model/GuardIterator.d
A    tango/util/collection/model/Map.d
A    tango/util/collection/model/SortedValues.d
A    tango/util/collection/model/SeqView.d
A    tango/util/collection/model/BagView.d
A    tango/util/collection/model/SetView.d
A    tango/util/collection/model/HashParams.d
A    tango/util/collection/model/Seq.d
A    tango/util/collection/model/Iterator.d
A    tango/util/collection/model/Bag.d
A    tango/util/collection/model/Set.d
A    tango/util/collection/model/SortedKeys.d
A    tango/util/collection/model/Dispenser.d
A    tango/util/collection/HashSet.d
A    tango/util/collection/impl
A    tango/util/collection/impl/AbstractIterator.d
A    tango/util/collection/impl/CLCell.d
A    tango/util/collection/impl/Cell.d
A    tango/util/collection/impl/RBPair.d
A    tango/util/collection/impl/LLPair.d
A    tango/util/collection/impl/RBCell.d
A    tango/util/collection/impl/SeqCollection.d
A    tango/util/collection/impl/BagCollection.d
A    tango/util/collection/impl/LLCell.d
A    tango/util/collection/impl/SetCollection.d
A    tango/util/collection/impl/MapCollection.d
A    tango/util/collection/impl/Collection.d
A    tango/util/collection/HashMap.d
A    tango/util/collection/LinkSeq.d
A    tango/util/collection/ArraySeq.d
A    tango/util/collection/iterator
A    tango/util/collection/iterator/FilteringIterator.d
A    tango/util/collection/iterator/InterleavingIterator.d
A    tango/util/collection/iterator/ArrayIterator.d
A    tango/util/collection/ArrayBag.d
A    tango/util/collection/TreeBag.d
A    tango/util/collection/LinkMap.d
A    tango/util/PathUtil.d
A    tango/sys
A    tango/sys/Pipe.d
A    tango/sys/SharedLib.d
A    tango/sys/linux
A    tango/sys/linux/linux.d
A    tango/sys/linux/socket.d
A    tango/sys/linux/epoll.d
A    tango/sys/Process.d
A    tango/sys/win32
A    tango/sys/win32/Macros.di
A    tango/sys/win32/Types.di
A    tango/sys/win32/CodePage.d
A    tango/sys/win32/Process.di
A    tango/sys/win32/IUnknown.d
A    tango/sys/win32/UserGdi.di
A    tango/sys/darwin
A    tango/sys/darwin/darwin.d
A    tango/sys/Environment.d
A    tango/sys/Common.d
A    tango/sys/freebsd
A    tango/sys/freebsd/freebsd.d
A    tango/time
A    tango/time/Time.d
A    tango/time/chrono
A    tango/time/chrono/Gregorian.d
A    tango/time/chrono/Korean.d
A    tango/time/chrono/Taiwan.d
A    tango/time/chrono/Hijri.d
A    tango/time/chrono/Japanese.d
A    tango/time/chrono/Calendar.d
A    tango/time/chrono/GregorianBased.d
A    tango/time/chrono/Hebrew.d
A    tango/time/chrono/ThaiBuddhist.d
A    tango/time/ISO8601.d
A    tango/time/Clock.d
A    tango/time/WallClock.d
A    tango/time/StopWatch.d
Checked out revision 3612.
[parz@lobsang gdc]$
Author Message

Posted: 06/13/08 21:03:45

OK, Problem found: Instructions say:

svn co http://svn.dsource.org/projects/tango/tags/releases/0.99.3/ <tango base>

For which I typed:

svn co http://svn.dsource.org/projects/tango/tags/releases/0.99.6/tango

When they should be

svn co http://svn.dsource.org/projects/tango/tags/releases/0.99.6/ tango

Sorry. I wish I could see spaces better.

On to the next adventure in Tangoland!

Posted: 06/13/08 21:49:07

hehe, wish all problems were so easy to fix :)