jasononeil / ufblog

A demo ufront app - a simple blog system
3 stars 3 forks source link

installing #1

Open postite opened 10 years ago

postite commented 10 years ago

hello jason ... today i wanted to try your ufblog to get a deep dive in ufront.

unfortunately i run into several problems for the install. first after i run ufront b i get Build /Users/postite/Desktop/ufblog/.hxml not found

i tried to bypass this error and manualy compiled this //build.hxml server.hxml --next client.hxml --next tasks.hxml

and now i get an compilation error : Error: Library tink_macros is not installed : run 'haxelib install tink_macros'

but i do have tink_macros installed ...

i don't understand . could you help.

also thanks for this example it seems to be quite explicit

David

jasononeil commented 10 years ago

Hi David

I think there are still some path errors on Windows, which is why you had to compile manually, so I will have to look into those...

As for tink_macros, there it got renamed to tink_macro for Haxe 3. Perhaps one of the old libraries (detox? not sure...) is pointing to tink_macros instead of tink_macro. Could you try

haxelib run tink_macro

And then compile again, but with "haxe -v build.hxml", so that it shows you all the libraries that are being included, and from there I can try figure out which library is responsible for the broken dependency...

Sorry for the hassles. I imagine there will still be some bugs to fix to get everything smooth on Windows, so any feedback would be appreciated. I will be doing some more work on this demo late in the week and over the weekend, so hopefully can help smooth out any troubles.

Jason

Jason

On Wed, Oct 2, 2013 at 5:46 PM, postite notifications@github.com wrote:

hello jason ... today i wanted to try your ufblog to get a deep dive in ufront.

unfortunately i run into several problems for the install. first after i run ufront b i get Build /Users/postite/Desktop/ufblog/.hxml not found

i tried to bypass this error and manualy compiled this //build.hxml server.hxml --next client.hxml --next tasks.hxml

and now i get an compilation error : Error: Library tink_macros is not installed : run 'haxelib install tink_macros'

but i do have tink_macros installed ...

i don't understand . could you help.

also thanks for this example it seems to be quite explicit

David

— Reply to this email directly or view it on GitHubhttps://github.com/jasononeil/ufblog/issues/1 .

postite commented 10 years ago

ok thanks ... i did have a dev version of detox which i disabled ... i can now compile ..but

i now get this... : /usr/lib/haxe/std/neko/_std/EReg.hx:33: characters 11-61 : Non capturing groups '(?:' are not supported in macros

:1: character 0 : Called from /usr/lib/haxe/std/neko/_std/EReg.hx:22: lines 22-204 : Called from /usr/lib/haxe/lib/selecthxml/0,4,0/src/selecthxml/engine/RegexLexer.hx:14: characters 22-135 : Called from /usr/lib/haxe/std/haxe/macro/Context.hx:133: characters 9-46 : Called from /usr/lib/haxe/std/sys/db/RecordMacros.hx:1026: characters 2-39 : Called from /usr/lib/haxe/std/sys/db/Manager.hx:30: characters 13-18 : Called from Aborted [Finished in 2.4s with exit code 1] [cmd: ['haxe', 'build.hxml']] [dir: /Users/postite/Desktop/ufblog] [path: /usr/bin:/bin:/usr/sbin:/sbin] and still this : "We are making the assumption that you are running `neko run.n` from the ufront haxelib folder. Use `haxelib run ufront` to be sure. Arguments: -debug Build /Users/postite/Desktop/ufblog/.hxml not found" btw i'm on osx running haxe 3 stock here is my haxelib list: MacBook-Pro-de-david:ufblog postite$ haxelib list actuate: [1.6.3] beanhx: [0.11.1] compiletime: [2.2.0] dbadmin: [1.1.0] detox: [0.14.0] erazor: [dev:/Users/postite/erazor/src/] haxelib_client: 3.0.0-rc.7 [3.1.0-rc.3] haxigniter: [dev:/Users/postite/Desktop/haxigniterv3/haxigniter/] hscript: 2.0.0 [2.0.1] hxcpp: [3.0.2] hxevents: [0.4.0] markdown: [1.0.0-alpha] mcli: [0.1.2-beta] mconsole: [1.4.0] microbe: [dev:/Users/postite/MICROBE/src/] minject: [1.2.3] mmvc: [1.3.1] msignal: [1.2.1] 1.2.2 openfl: [1.0.6] openfl-compatibility: [1.0.1] openfl-html5: [1.0.5] openfl-native: [1.0.8] openfl-samples: [1.0.0] openfl-tools: [1.0.10] PBKDF2: [0.2.0] postite: [dev:/Users/postite/Dropbox/LAB/HAXELAB/postiteBLOC/] promhx: 0.2.1 [0.2.2] pushstate: [1.0.0-rc.4] random: [1.3.0] selecthxml: [0.4.0] stablexui: [1.0.9] tink_core: [1.0.0-alpha] tink_macro: [0.0.0-alpha] ufront: [1.0.0-beta.1] ufront-clientds: [1.0.0-beta.1] ufront-easyauth: [1.0.0-beta.1] ufront-mvc: [1.0.0-beta.1] ufront-orm: [1.0.0-beta.1] ufront-ufadmin: [1.0.0-beta.1] ufront-uftasks: [1.0.0-beta.1] MacBook-Pro-de-david:ufblog postite$ good luck with that :) David
postite commented 10 years ago

hello jason .. today i upgraded haxe to 3.0.1. in fact i got neko64 bits replacing neko32bits ( openfl hack for macs). now i don't have those funky errors anymore. but .. i don't get how you include ufront dependencies ( ufront-mvc , xevents etc) in ufblog project because i get error for not finding classes from them adding them in the hxml file doesn't do anything!! this process ( with ufTool) is really disapointing .. i still don't get the purpose.

thx for your help