Pi4 Openbsd another iconv problem
Posted: Wed Jun 09 2021 6:27 pm
Hi,
I know this is a architecture you do not support right now. But maybe in the future?
I am trying to compile copperspice on a raspberrypi4 running OpenBSD which uses ksh for shell.
My first problem was the error about "Unable to detect system architecture"
On this Forum I found advice given on (Copper Spice on M1 Mac) about adding these lines
#elif 1
#define Q_PROCESSOR_ARM 8
ARM 8 is the right one for the pi4 so I used it. That fixed that.
Then I started getting an error on not finding iconv.h. Even through I see CMake find it. Ninja seem
not to be able to. I found (iconv problems) in the Forum and looked at CMakeLists.txt file in
src/core for the fix that the thread said was added to github. But I do not see it in the file.
I added it, but it does not seem to fix my problem.
The elseif in the file seems to list all the BSDs as one. So I thought the fix, even through it
was done for FreeBSD would work on OpenBSD. I have the files you ask for in the (iconv problems)
Forum thread. And can send them if you want them. All clean run except the architecture #define
added to file.
Also getting one more error, but not sure if it is related to the iconv error.
ninja keeps compiling file after the iconv.h not found error and get this error
a few files later of.
"ninja: build stopped: subcommand failed."
Thanks for any help
Paul
I know this is a architecture you do not support right now. But maybe in the future?
I am trying to compile copperspice on a raspberrypi4 running OpenBSD which uses ksh for shell.
My first problem was the error about "Unable to detect system architecture"
On this Forum I found advice given on (Copper Spice on M1 Mac) about adding these lines
#elif 1
#define Q_PROCESSOR_ARM 8
ARM 8 is the right one for the pi4 so I used it. That fixed that.
Then I started getting an error on not finding iconv.h. Even through I see CMake find it. Ninja seem
not to be able to. I found (iconv problems) in the Forum and looked at CMakeLists.txt file in
src/core for the fix that the thread said was added to github. But I do not see it in the file.
I added it, but it does not seem to fix my problem.
The elseif in the file seems to list all the BSDs as one. So I thought the fix, even through it
was done for FreeBSD would work on OpenBSD. I have the files you ask for in the (iconv problems)
Forum thread. And can send them if you want them. All clean run except the architecture #define
added to file.
Also getting one more error, but not sure if it is related to the iconv error.
ninja keeps compiling file after the iconv.h not found error and get this error
a few files later of.
"ninja: build stopped: subcommand failed."
Thanks for any help
Paul