Re: [sqlite]cross compiling with powerpc

2005-12-05 Thread Ajay Radhakrishnan
configure: error: unable to find a compiler for building build tools

Have you tried setting the path where the powerpc compiler in installed?

Regards,
Ajay.

On 12/2/05, Julien LEFORT <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I've been struggling for few hours trying to run the configure script the
> right way so I can cross compile sqlite3 for a powerpc target.
> I guess it is only a problem of options I pass into the configure script.
> here is the command I pass:
>
> CC=powerpc-linux-gcc CXX=powerpc-linux-g++ BUILD_CC=gcc ../configure
> --host=i686-linux --target=powerpc-linux --disable-shared --disable-tcl
>
> and the error I get:
>
> Version number set to 3002007
> checking for i686-linux-gcc... (cached) powerpc-linux-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether powerpc-linux-gcc accepts -g... (cached) yes
> checking for powerpc-linux-gcc option to accept ANSI C... (cached) none
> needed
> configure: error: unable to find a compiler for building build tools
>
> Anyone has any idea?
> Thanks
>
> Julien
>



--
Prosperity is only an instrument to be used, not a deity to be worshipped.


[sqlite] sqlite3-3.2.1 execution error!

2005-10-03 Thread Ajay Radhakrishnan
Hello,

I tried compiling the source sqlite3-3.2.1 with the following commands on a
i686 machine distro rehat linux 9 with the following commands,

./configure
make
make install

And the above process returns successful message

and all the lib* libraries are present in /usr/local/lib, i can also invoke
sqlite3 by typing in the same at the prompt

I have created an application which uses GTK+-1.2 and sqlite3 , the
application compiles fine without any error but while trying to execute the
binary the following error surface,,

./main(This is the binary)

error while loading shared libraries: libsqlite3.so.0: cannot open shared
object file: No such file or directory

as mentioned above, i have cross-checked and these libraries are present in
/usr/local/lib and all have executable permissions,
The above library, libsqlite3.so.0 is linked with another library
libsqlite3.so.0.8.6

But the above process works fine if i replicate them on a i386 machine with
the same distro installed..


[sqlite] Problem Installing sqlite3 in redhat linux 9 i686 machine

2005-09-30 Thread Ajay Radhakrishnan
Hello,

I tried compiling the source sqlite3-3.2.1 with the following commands on a
i686 machine distro rehat linux 9 with the following commands,

./configure
make
make install

And the above process returns successful message

and all the lib* libraries are present in /usr/local/lib, i can also invoke
sqlite3 by typing in the same at the prompt

I have created an application which uses GTK+-1.2 and sqlite3 , the
application compiles fine without any error but while trying to execute the
binary the following error surface,,

./main(This is the binary)
error while loading shared libraries: libsqlite3.so.0: cannot open shared
object file: No such file or directory

as mentioned above, i have cross-checked and these libraries are present in
/usr/local/lib and all have executable permissions,
The above library, libsqlite3.so.0 is linked with another library
libsqlite3.so.0.8.6

But the above process works fine if i replicate them on a i386 machine with
the same distro installed..