Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: Can't find unit FLREUnicode #18

Closed
CanOfBees opened this issue Jan 22, 2018 · 0 comments
Closed

Build error: Can't find unit FLREUnicode #18

CanOfBees opened this issue Jan 22, 2018 · 0 comments

Comments

@CanOfBees
Copy link

CanOfBees commented Jan 22, 2018

Hi -
I'm trying to build from source on FreeBSD and I'm running into an error:

--> ./build.sh
-Fu../../../components/pascal/* -Fi../../../components/pascal -Fu../../../components/pascal/internet/* -Fu../../../components/pascal/internet/examples/* -Fu../../../components/pascal/system/* -Fu../../../components/pascal/system/cvirus/* -Fu../../../components/pascal/system/apihooking/* -Fu../../../components/pascal/system/apihooking/example/* -Fu../../../components/pascal/system/nvcanvas/* -Fu../../../components/pascal/import/regexpr/source/* -Fu../../../components/pascal/import/synapse/* -Fi../../../components/pascal/import/synapse -Fu../../../components/pascal/import/flre/src/* -Fu../../../components/pascal/import/utf8tools/* -Fi../../../components/pascal/import/utf8tools -Fu../../../components/pascal/import/utf8tools/demo/charenc/* -Fu../../../components/pascal/import/utf8tools/demo/charandscan/* -Fu../../../components/pascal/data/* -Fi../../../components/pascal/data -Fu../../../components/pascal/data/examples/* -Fu../../../components/pascal/data/tests/* -Fu../../../components/lazarus/internet/sendBackError/* -Fu../../../components/lazarus/dialogs/* -Fu../../../programs/internet/xidel/* -Fi../../../programs/internet/xidel -Fu../../../programs/internet/xidel/android/*
Free Pascal Compiler version 3.0.2 [2017/12/10] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: FreeBSD for x86-64
Compiling xidel.pas
Compiling xidelbase.pas
Compiling /usr/home/bridger/src/xidel/xidel-0.9.6-src/components/pascal/data/simplexmltreeparserfpdom.pas
simplexmltreeparserfpdom.pas(149,19) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
simplexmltreeparserfpdom.pas(150,23) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
Compiling /usr/home/bridger/src/xidel/xidel-0.9.6-src/components/pascal/data/xquery_module_file.pas
xquery_module_file.pas(400,15) Warning: Symbol "urlHexDecode" is deprecated: "for internal use"
Compiling /usr/home/bridger/src/xidel/xidel-0.9.6-src/components/pascal/data/xquery_module_math.pas
xquery_module_math.pas(244,3) Note: Local variable "f" not used
Compiling /usr/home/bridger/src/xidel/xidel-0.9.6-src/components/pascal/system/rcmdline.pas
Compiling /usr/home/bridger/src/xidel/xidel-0.9.6-src/components/pascal/data/xquery_utf8.pas
xquery_utf8.pas(33,30) Fatal: Can't find unit FLREUnicode used by xquery_utf8
Fatal: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode

I've been able to work around other build errors by grabbing things piecemeal (first time playing around with a Pascal application) but I can't find a FLREUnicode.pas anywhere. Could you give me some suggestions for getting around this particular hurdle?

And: Xidel looks like an awesome tool - thanks for sharing it!

Best,
Bridger

Edit: so, I clearly didn't look hard enough in the TAR, there was a copy under components/pascal/import/flre/. After trying to puzzle out why the build.sh couldn't/wouldn't load that directory, I copied the two files from that path into the directory with build.sh and it completed without any additional errors. Apologies for the confusion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants