Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: str4ng3r on January 23, 2013, 12:49:10 PM
-
Hi.
I'm trying to compile (http://freetds.schemamania.org/userguide/config.htm) FreeTDS, but i always get an error. Actually i get 2.
One is because there no "-V" option and the other because there is no "-qversion" option either.
I brought up the help from gcc on piCore and in fact these options don't come up. However, surfing to gcc's manual page -V option do exists while -qversion seems not to.
My question is: Is piCore's gcc according to the standards?
I'm not trying to be offensive/disrespectfull, i'm just trying to sort this out, because everywhere i look it seems everyone was able to compile this package without a hitch but me. And i don't believe i'm being singled out although it may be the case for some wierd reason...
-
Do not know application you are trying to compile, can't give specific answer.
gcc in piCore is used to build all extensions in the repository plus not yet published, cca. 300 and haven't seen any issues. Dont't think it is a gcc problem.
You can try to build it on Raspbian. Resulted executable is expected to be binary compatible to piCore.
-
Those are standard ./configure checks that are supposed to fail for GCC. If you look on any desktop system, you will see the same.
Please post your actual output so we can see why it stops.
-
I compiled freetds-stable (0.91) without any issues with
./configure
make
make install
Probably you are missing something from the toolchain.
Will make a .tcz and add to the repo.
-
I compiled freetds-stable (0.91) without any issues with
./configure
make
make install
Probably you are missing something from the toolchain.
Will make a .tcz and add to the repo.
Thank you Markus.
I now have to uninstall gcc and install it again? (after you update the repo of course).
Regards.
-
? As I wrote gcc is OK. I mean freetds.tcz
-
Hi bmarkus
Maybe he installed gcc instead of compile-essentials?
-
Hi bmarkus
Maybe he installed gcc instead of compile-essentials?
It's possible... i used: tce-load -i -w gcc.tcz
Is that the problem?
-
In this case you can try to just install compile-essentials in addition, without uninstalling gcc first.
-
In this case you can try to just install compile-essentials in addition, without uninstalling gcc first.
did it after Rich's post, and just finished running everything with 0 errors.
Win.
Thanks a lot guys!
Btw, gcc's installation is only complete after installing compile-essentials, is that correct? Or I can just install compile-essentials?
-
Btw, gcc's installation is only complete after installing compile-essentials, is that correct? Or I can just install compile-essentials?
GCC works just fine on it's own. HOWEVER, 99% of applications you'll ever try and compile need far more than just GCC. Just install compile-essentials, and that will install GCC for you as well.
-
? As I wrote gcc is OK. I mean freetds.tcz
Hi Markus.
We can find freetds.tcz on x86 repo, but not on armv6 one, which is the one accessed by piCore, i guess.
-
It is there yet.
-
It is there yet.
Can't find it here: http://repo.tinycorelinux.net/4.x/armv6/tcz/
and if i issue "tce-load -i -w freetds.tcz" i get a 404 not found error.
Apparently, freeTDS needs sql.h file, which comes from the installation of unixODBC (http://www.unixodbc.org/). So probably one needs to make a unixODBC.tcz also, i guess. :-\
-
Added to repository. Just built, not tested against MS SQL.
-
Added to repository. Just built, not tested against MS SQL.
Thanks. I'll give it a go once i have some code ready. It will take some time, since i'm still building my piCore's system.