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

make error for 'webinterface/dashboard/dist/index.html' #2

Open
wventer opened this issue Mar 9, 2015 · 5 comments
Open

make error for 'webinterface/dashboard/dist/index.html' #2

wventer opened this issue Mar 9, 2015 · 5 comments

Comments

@wventer
Copy link

wventer commented Mar 9, 2015

When building on Ubuntu 14.04 a make error for /softgre.git/share and 'webinterface/dashboard/dist/index.html'

make all-recursive
make[1]: Entering directory /softgre.git' Making all in bin make[2]: Entering directory/softgre.git/bin'
make[2]: Leaving directory /softgre.git/bin' Making all in share make[2]: Entering directory/softgre.git/share'
make[2]: *** No rule to make target webinterface/dashboard/dist/index.html', needed byall-am'. Stop.
make[2]: Leaving directory /softgre.git/share' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/softgre.git'
make: *** [all] Error 2

@gmiraval
Copy link

any news regarding this error.I´m getting the same.krgrds,Guillermo

@TGruenberg
Copy link

Same problem, it seems the share/webinterface/dashboard/dist directory is not created. I've played around with this issue, but I've no solution at the moment.

I've tried to install node.js, nmp and bower, but this does not solve the problem. There is no dist directory created.

@gmiraval
Copy link

I´ve replaced the "dist" directory for the "app" directory & It's working ok now.
Below the changes. I hope you get it working ok too.Krgrds,
Guillermo

##remove references to "dist" (workaround-ToDO: reead the whole code & fix it properly)

rm share/dashboard.mk
vi share/dashboard.mk

dashboardfontsdir = $(pkgdatadir)/webinterface/fonts
dashboardfonts_DATA = webinterface/dashboard/app/fonts/glyphicons-halflings-regular.eot webinterface/dashboard/app/fonts/glyphicons-halflings-regular.svg webinterface/dashboard/app/fonts/glyphicons-halflings-regular.ttf webinterface/dashboard/app/fonts/glyphicons-halflings-regular.woff

dashboardimagesdir = $(pkgdatadir)/webinterface/images
dashboardimages_DATA = webinterface/dashboard/app/images/yeoman.png

dashboardscriptsdir = $(pkgdatadir)/webinterface/scripts
dashboardscripts_DATA = webinterface/dashboard/app/scripts/app.js

dashboardstylesdir = $(pkgdatadir)/webinterface/styles
dashboardstyles_DATA = webinterface/dashboard/app/styles/main.css

dashboardviewsdir = $(pkgdatadir)/webinterface/views
dashboardviews_DATA = webinterface/dashboard/app/views/main.html

:wq

vi share/scripts/gen-dist-dashboard.sh
:%s//dist///app//g

:wq

vi share/Makefile.am
:%s//dist///app//g

:wq

#create package
make debian-package

#install
dpkg -i ../softgred-*.deb

@TGruenberg
Copy link

Setup is working now.

Thank you very much.

@jpereira
Copy link
Owner

Hi folks,

I don't know why but only now I figured out that I am not receiving messages from my repo. so, I will take a look at it soon.

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

4 participants