View previous topic :: View next topic |
Author |
Message |
jgeewax
Joined: 19 Oct 2006 Posts: 2 Location: Philadelphia, PA, USA
|
Posted: Thu Oct 19, 2006 8:14 pm Post subject: Building DDBI UTF Error (linux, ubuntu) |
|
|
Hi,
I searched a great deal and couldn't find any help. I am trying to get only the MySQL parts working, and so I do the following:
Code: | dmd -run buildme.d mysql |
And I get returned to me:
Code: | Error: 4invalid UTF-8 sequence |
I am very confused about what this means as I don't see anyone else having this trouble. I made sure to make build (/bud) from dsource.org/projects/build and that seems to be working just fine, yet I cannot figure out how to get DDBI compiled well.
If anyone has had this problem, or comes up with a solution, let me know.
(Also, when running buildme.d in bash, there was an error with the command "pause", which I replaced with "sleep 1s")
Thanks in advance.
JJG |
|
Back to top |
|
|
jpelcis
Joined: 09 Mar 2006 Posts: 40
|
Posted: Fri Oct 20, 2006 6:38 pm Post subject: Re: Building DDBI UTF Error (linux, ubuntu) |
|
|
Hi. Nice to meet you.
jgeewax wrote: | I searched a great deal and couldn't find any help. I am trying to get only the MySQL parts working, and so I do the following:
|
I don't have a copy of Linux to test on, but that error doesn't occur on Windows. Would you please try running to help me locate the bug? Thanks.
jgeewax wrote: | Also, when running buildme.d in bash, there was an error with the command "pause", which I replaced with "sleep 1s" |
That should be fixed now. |
|
Back to top |
|
|
manni
Joined: 16 Jan 2006 Posts: 25
|
Posted: Sat Oct 21, 2006 3:23 am Post subject: |
|
|
Hello,
the message
Code: | Error: 4invalid UTF-8 sequence |
commes if the shell didn't use UTF-8 .
Manfred |
|
Back to top |
|
|
nex
Joined: 27 Oct 2006 Posts: 1
|
Posted: Fri Oct 27, 2006 8:14 pm Post subject: |
|
|
I had the same problem and fixed it by commenting out Code: | buildCommand.length = buildCommandArray.length * 10; |
Using writefln to print out buildCommand right after that line exits with the same error. I don't know enough about D to know what it's supposed to do, but all it appears to do is extend the string's buffer without clearing the memory. So the arguments just get appended to whatever junk was there.
I also had to change -ofdbi to -oddbi or I got Code: | Error: multiple source files, but only one .obj name |
I'm using dmd 0.172 on Gentoo. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|