Open iwelch opened 7 months ago
Hi @iwelch, thanks for reporting your issue.
The fstcore
package has just been updated on CRAN and as per CRAN request the explicit C++11 specification has been removed in the new version.
Could you check which gcc
version you have on your system to compile the package?
gcc --version
you could try adding the following line to your custom Makevars (~/.R/Makevars) and see if that solves your problem?
CXX_STD = CXX11
thanx!
Hi @iwelch, I believe your issue is related to failing to compile assembler code in the fstcore
package on your system.
Could you try to install fstcore
from the develop branch and see if it compiles correctly?
devtools::install_github("fstpackage/fstcore", ref = "develop")
I've added addition platforms to the github runner of fstcore to catch this problem in the future.
hi mark --- that's not so easy. I tried to install devtools, but it says
ERROR: dependency 'pkgdown' is not available for package 'devtools'
this is because harfbuzz is missing, and I do not have sudo privileges on this machine.
I just retried the plain install, and it was still broken.
regards,
Ivo Welch @.***) http://www.ivo-welch.info/ J. Fred Weston Distinguished Professor, UCLA Anderson
On Fri, Dec 1, 2023 at 4:10 AM Mark Klik @.***> wrote:
Hi @iwelch https://github.com/iwelch, I believe your issue is related to failing to compile assembler code in the fstcore package on your system.
Could you try to install fstcore from the following branch and see if it compiles correctly?
devtools::install_github("MarcusKlik/fstcore", ref = "asssembly-compile")
— Reply to this email directly, view it on GitHub https://github.com/fstpackage/fst/issues/279#issuecomment-1836015096, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCJU2LOHCYILCCCKHZMALYHHCF3AVCNFSM6AAAAABACLORW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWGAYTKMBZGY . You are receiving this because you were mentioned.Message ID: @.***>
Hi @iwelch, a new release of fstcore
is submitted to CRAN where I have disabled the (unused) assembler optimization in ZSTD that is causing the compiler error that you see. Thanks again for reporting!
thanks a lot, mark. works great now. fst is a great package and I use it a lot for important work!!
(the only aspect I wish fst had is a unix command line (cli) text streamer, e.g., if I want to operate on a data set in perl or C or ... without the need for R. right now, I convert to .csv.gz, then operate in C, then convert back to fst.)
regards,
/ivo
-- Ivo Welch @.***)
On Sun, Dec 3, 2023 at 8:47 AM Mark Klik @.***> wrote:
Hi @iwelch https://github.com/iwelch, a new release of fstcore is submitted to CRAN where I have disabled the (unused) assembler optimization in ZSTD that is causing the compiler error that you see. Thanks again for reporting!
— Reply to this email directly, view it on GitHub https://github.com/fstpackage/fst/issues/279#issuecomment-1837534386, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCJU7IG76ORIDW4PPC6LTYHSTWNAVCNFSM6AAAAABACLORW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGUZTIMZYGY . You are receiving this because you were mentioned.Message ID: @.***>
Hi @iwelch, you mean a command line interpreter that can read fst files and stream them or convert them to another format?
(that might be an interesting addition to fst's
underlying C++ library fstlib
)
Just stream in ascii format. In csv like format, a plus.
$ fst2txt my.fst … $ fst2txt -csv my.fst …
For quick slurp…
On Wed, Dec 6, 2023 at 8:44 AM Mark Klik @.***> wrote:
Hi @iwelch https://github.com/iwelch, you mean a command line interpreter that can read fst files and stream them or convert them to another format?
— Reply to this email directly, view it on GitHub https://github.com/fstpackage/fst/issues/279#issuecomment-1842430738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCJU3KM4JSXM3XJJDVESLYIAVKBAVCNFSM6AAAAABACLORW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGQZTANZTHA . You are receiving this because you were mentioned.Message ID: @.***>
ERROR: dependency ‘fstcore’ is not available for package ‘fst’