Git Product home page Git Product logo

Comments (25)

mkschreder avatar mkschreder commented on July 30, 2024

It should be there. Works for me.

git clone https://github.com/mkschreder/luci-express.git
cd luci-express
make

You must have probably deleted the file or something.

On Fri, Jun 12, 2015 at 12:14 PM, mullex [email protected] wrote:

I git cloned the project to local and use make to build it. I then got the
error message below. What is the problem?

make[1]: ../juci-build-tpl-cache: Command not found
make[1]: *** [htdocs/js/01-juci-tpl.js] Error 127
make[1]: Leaving directory `/home/alex/Projects/luci-express/juci'
make: *** [juci] Error 2


Reply to this email directly or view it on GitHub
#2.

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

If you are integrating it to openwrt build process then make sure you copy
the whole juci folder to builddir and then execute make in the correct
directory.

On Fri, Jun 12, 2015 at 1:05 PM, Martin Schroeder <
[email protected]> wrote:

It should be there. Works for me.

git clone https://github.com/mkschreder/luci-express.git
cd luci-express
make

You must have probably deleted the file or something.

On Fri, Jun 12, 2015 at 12:14 PM, mullex [email protected] wrote:

I git cloned the project to local and use make to build it. I then got
the error message below. What is the problem?

make[1]: ../juci-build-tpl-cache: Command not found
make[1]: *** [htdocs/js/01-juci-tpl.js] Error 127
make[1]: Leaving directory `/home/alex/Projects/luci-express/juci'
make: *** [juci] Error 2


Reply to this email directly or view it on GitHub
#2.

from juci.

mullex avatar mullex commented on July 30, 2024

Many thanks. I placed the whole folder inside builddir and then It compiles fine. But i didn't find it in make menuconfig.How can i install it to openwrt.

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

There is an openwrt package for juci in iopsys sdk under
package/inteno/webgui/juci. In juci readme are instructions on how to
checkout iopsys sdk through git. So actually you should let the wrt
makefile checkout juci and build it. Then it will also build all
dependencies and create an ipk.
On 13 Jun 2015 04:31, "mullex" [email protected] wrote:

Many thanks. I placed the whole folder inside builddir and then It
compiles fine. But i didn't find it in make menuconfig.How can i install it
to openwrt.


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

I followed the instructions. But when i run "make" inside the iop folder, I always got the error message below.

Checking out files from the git repository...
Cloning into 'mtd-utils-1.4.5'...
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.

from juci.

mullex avatar mullex commented on July 30, 2024

I used your mirror of iop on github. The issue above was gone but i got the following errors. Does this work for u?

echo "Checking out files from the git repository..."; mkdir -p /home/mullex/Projects/iop/tmp/dl && cd /home/mullex/Projects/iop/tmp/dl && rm -rf ice-client-3.1.0 && [ ! -d ice-client-3.1.0 ] && git clone ssh://[email protected]/ice-client.git ice-client-3.1.0 && (cd ice-client-3.1.0 && git checkout 249d6033274f93da343b7fb5879dae0edc5f9682) && echo "Packing checkout..." && /usr/bin/gtar cfz /home/mullex/Projects/iop/tmp/dl/ice-client-3.1.0-RC4.tar.gz ice-client-3.1.0 && mv /home/mullex/Projects/iop/tmp/dl/ice-client-3.1.0-RC4.tar.gz /home/mullex/Projects/iop/dl/ && rm -rf ice-client-3.1.0;
Checking out files from the git repository...
Cloning into 'ice-client-3.1.0'...
ssh_exchange_identification: read: Connection reset by peer

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

Thats ok. ice client is inteno specific utility so you will not be able to
build it anyway. The same goes for the broadcom wifi stuff that is closed
source from broadcom. But you will not need that one either unless you
build for an inteno target. Iopsys public sdk will be updated in due time
to include working alternatives for these things. But for now you can just
disable the packages that you can't compile.

Since you have gotten this far, what you can do is actually just build juci
and it's dependencies by doing "make package/inteno/webgui/juci/compile".

Also note that the github mirror you checked out was not the
latest-latest.. so you may wanna do a pull on that one.
On 15 Jun 2015 08:53, "mullex" [email protected] wrote:

I used your mirror of iop on github. The issue above was gone but i got
the following errors. Does this work for u?

echo "Checking out files from the git repository..."; mkdir -p
/home/mullex/Projects/iop/tmp/dl && cd /home/mullex/Projects/iop/tmp/dl &&
rm -rf ice-client-3.1.0 && [ ! -d ice-client-3.1.0 ] && git clone ssh://
[email protected]/ice-client.git ice-client-3.1.0 && (cd
ice-client-3.1.0 && git checkout 249d6033274f93da343b7fb5879dae0edc5f9682)
&& echo "Packing checkout..." && /usr/bin/gtar cfz
/home/mullex/Projects/iop/tmp/dl/ice-client-3.1.0-RC4.tar.gz
ice-client-3.1.0 && mv
/home/mullex/Projects/iop/tmp/dl/ice-client-3.1.0-RC4.tar.gz
/home/mullex/Projects/iop/dl/ && rm -rf ice-client-3.1.0;
Checking out files from the git repository...
Cloning into 'ice-client-3.1.0'...
ssh_exchange_identification: read: Connection reset by peer


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

Sorry for keep asking questions as this is the first time i build iop though i have a couple years of experience with openwrt.

I executed the following steps:
1.git clone http://ihgsp.inteno.se/git/iopsysAA.git iop
2.cd iop
3.git checkout BB
4./iop_get_feeds.sh
5.make package/inteno/webgui/juci/compile
I got the following error:
make[1]: Entering directory /home/alex/Projects/iop' make[1]: *** No rule to make targetpackage/inteno/webgui/juci/compile'. Stop.
make[1]: Leaving directory `/home/alex/Projects/iop'
make: *** [package/inteno/webgui/juci/compile] Error 2

When i execute the make package/inteno/webgui/juci/juci-compile, i got the following error
make: `package/inteno/webgui/juci/juci-compile' is up to date.

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

Try checkout BB-martin
On 15 Jun 2015 12:32, "mullex" [email protected] wrote:

Sorry for keep asking questions as this is the first time i build iop
though i have a couple years of experience with openwrt.

I executed the following steps:
1.git clone http://ihgsp.inteno.se/git/iopsysAA.git iop
2.cd iop
3.git checkout BB
4./iop_get_feeds.sh
5.make package/inteno/webgui/juci/compile
I got the following error:
make[1]: Entering directory /home/alex/Projects/iop'
make[1]: *** No rule to make targetpackage/inteno/webgui/juci/compile'.
Stop.
make[1]: Leaving directory `/home/alex/Projects/iop'
make: *** [package/inteno/webgui/juci/compile] Error 2

When i execute the make package/inteno/webgui/juci/juci-compile, i got the
following error
make: `package/inteno/webgui/juci/juci-compile' is up to date.


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

A huge merge is coming soon on master. Then hopefully things will work much
better.
On 15 Jun 2015 12:44, "Martin Schroeder" [email protected]
wrote:

Try checkout BB-martin
On 15 Jun 2015 12:32, "mullex" [email protected] wrote:

Sorry for keep asking questions as this is the first time i build iop
though i have a couple years of experience with openwrt.

I executed the following steps:
1.git clone http://ihgsp.inteno.se/git/iopsysAA.git iop
2.cd iop
3.git checkout BB
4./iop_get_feeds.sh
5.make package/inteno/webgui/juci/compile
I got the following error:
make[1]: Entering directory /home/alex/Projects/iop'
make[1]: *** No rule to make targetpackage/inteno/webgui/juci/compile'.
Stop.
make[1]: Leaving directory `/home/alex/Projects/iop'
make: *** [package/inteno/webgui/juci/compile] Error 2

When i execute the make package/inteno/webgui/juci/juci-compile, i got
the following error
make: `package/inteno/webgui/juci/juci-compile' is up to date.


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

I hope that can come soon. I really like your project:)

1.I tried to execute git checkout BB-martin
2.I still got errors.

make package/inteno/webgui/juci/compile V=s
Collecting package info: done
package/Makefile:105: warning: overriding recipe for target package/cg300/clean' package/Makefile:105: warning: ignoring old recipe for targetpackage/cg300/clean'
make[1]: *** No rule to make target package/inteno/webgui/juci/compile'. Stop. make[1]: Leaving directory/home/alex/Projects/iop'
make: *** [package/inteno/webgui/juci/compile] Error 2

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

I just realized that you will not be able to build it either because it
needs to pull configs from a repo you don't have access to. I will need to
add default configs. It is actually on my todo list..

There is a script called genconfig. It takes hardware and profile as first
and second argument. It then sets top level targe package and then the rest
is handled by defconfig to select all other packages based on dependencies.
It needs to be run first before make. This actually allows one to have many
different customer profiles with different packages for each target.

What hardware are you using?
On 15 Jun 2015 13:01, "mullex" [email protected] wrote:

I hope that can come soon. I really like your project:)

1.I tried to execute git checkout BB-martin
2.I still got errors.

make package/inteno/webgui/juci/compile V=s
Collecting package info: done
package/Makefile:105: warning: overriding recipe for target
package/cg300/clean'
package/Makefile:105: warning: ignoring old recipe for target
package/cg300/clean'
make[1]: *** No rule to make target package/inteno/webgui/juci/compile'.
Stop.
make[1]: Leaving directory/home/alex/Projects/iop'
make: *** [package/inteno/webgui/juci/compile] Error 2


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

I am using CentOS(x86_64) 7 with VMWARE as the build machine. It has 4-Core CPU,4G RAM,100G SCSI HDD.

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

But what is your build target?
On 15 Jun 2015 13:25, "mullex" [email protected] wrote:

I am using CentOS(x86_64) 7 with VMWARE as the build machine. It has
4-Core CPU,4G RAM,100G SCSI HDD.


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

my build target is for X86_64.

from juci.

mullex avatar mullex commented on July 30, 2024

Is there any progress on this?

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

There is always progress. :-) but we focus mainly on developing for inteno
hardware. Everything else is secondary.
On 18 Jun 2015 11:42, "mullex" [email protected] wrote:

Is there any progress on this?


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

Do you mean that juci will support Inteno devices for the time being? Does it support any other openwrt devices as i really like juci and want to use it in our project.

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

It is mostly the backend that is the issue. Juci will work on any device
and if you write your own modules for your device then you're fine. It's
just that currently the backend is actually scattered around several
daemons with functions that are tied into broadcom specifics.

It would be good to break up these daemons into clean ubus modules that can
be tied with corresponding juci app, but the daemons have been around for
way longer than juci so they are used in other places as well. The daemons
have been originally created only with broadcom in mind. And then I have
just built juci on top of the existing ubus api that was already in place.

For an idea of what is needed, here is a repo that will build a juci setup
with uhttpd and all the daemons locally:

git clone https://github.com/mkschreder/juci-feed.git

Do a make then make install then sudo bash server start and go to port 8080
locally. Of course this will be missing a lot of things if you just run it
locally on a pc rather than on a real device, but it is still a fully
standalone setup that is not even dependent on openwrt to run.

So as long as the juci modules can be tailored to work on a desktop pc then
this setup will work just as well as on an inteno router. This repo is just
a proof of concept of how to make it work. I'm not responsible for any
crashes or bugs you're going to get with this setup ;-) use at your own
risk.

Do you mean that juci will support Inteno devices for the time being? Does
it support any other openwrt devices as i really like juci and want to use
it in our project.


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

git clone https://github.com/mkschreder/juci-feed.git
make

I got the following error so i still couldn't get it compiled and running

..............
Compiling CSS bin/www/css/01-juci.css..
YUICompressor Version: 2.4.8

Usage: java -jar yuicompressor-2.4.8.jar [options] [input file]

Global Options
-V, --version Print version information
-h, --help Displays this information
--type <js|css> Specifies the type of the input file
--charset Read the input file using
--line-break Insert a line break after the specified column number
-v, --verbose Display informational messages and warnings
-o Place the output into . Defaults to stdout.
Multiple files can be processed using the following syntax:
java -jar yuicompressor.jar -o '.css$:-min.css' *.css
java -jar yuicompressor.jar -o '.js$:-min.js' *.js

JavaScript Options
--nomunge Minify only, do not obfuscate
--preserve-semi Preserve all semicolons
--disable-optimizations Disable all micro optimizations

If no input file is specified, it defaults to stdin. In this case, the 'type'
option is required. Otherwise, the 'type' option is required only if the input
file extension is neither 'js' nor 'css'.
make: *** [all] Error 1

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

Can you debug a bit more? Try a clean build from clean checkout. Make sure
you are using bash as your shell.

Check that you can run the yui compressor command manually:

yui-compressor

If nothing works then you can just comment out the line using yui
compressor. It just makes the css file smaller but it is not strictly
mandatory.

git clone https://github.com/mkschreder/juci-feed.git
make

I got the following error so i still couldn't get it compiled and running

..............
Compiling CSS bin/www/css/01-juci.css..
YUICompressor Version: 2.4.8

Usage: java -jar yuicompressor-2.4.8.jar [options] [input file]

Global Options
-V, --version Print version information
-h, --help Displays this information
--type Specifies the type of the input file
--charset Read the input file using
--line-break Insert a line break after the specified column number
-v, --verbose Display informational messages and warnings
-o Place the output into . Defaults to stdout.
Multiple files can be processed using the following syntax:
java -jar yuicompressor.jar -o '.css$:-min.css' *.css
java -jar yuicompressor.jar -o '.js$:-min.js' *.js

JavaScript Options
--nomunge Minify only, do not obfuscate
--preserve-semi Preserve all semicolons
--disable-optimizations Disable all micro optimizations

If no input file is specified, it defaults to stdin. In this case, the
'type'
option is required. Otherwise, the 'type' option is required only if the
input
file extension is neither 'js' nor 'css'.
make: *** [all] Error 1


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

I can always debug it as long as you are available on this:)))

I commented out the following lines in juci-compile(i had to comment out mv statement there is an error complaining about a mssing .out file).
for file in find bin/www/css/ -name "*.css"; do
echo "Compiling CSS ${file}.."
#yui-compressor ${file} > ${file}.out
#mv ${file}.out ${file}
done

Then make and make install worked!

But when i run sudo bash server start, got the following error:
[root@localhost juci-feed]# sudo bash server start
PATH:/home/alex/Projects/juci/juci-feed/build/bin:/sbin:/bin:/usr/sbin:/usr/bin
UBUS
RPCD
rpcd: connected to ubus
rpcd: session init
rpcd: uci init
rpcd: plugin init
rpcd: loading /usr/lib/rpcd/juci-ubus-core.so
rpcd: purge savedirs
rpcd: started
QUEST
NETIF
UHTTPD
connected as 502c3854
[root@localhost juci-feed]# chdir(main path): No such file or directory
chdir(main path): No such file or directory
Failed to load network config

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

That is actually netifd that is giving that error and it's ok. The local
uhttpd should run in the background anyway. For development it is usually
better to use juci-local-server and connect to a real box running uhttpd
over ubus.
On 9 Jul 2015 12:20, "mullex" [email protected] wrote:

I can always debug it as long as you are available on this:)))

I commented out the following lines in juci-compile(i had to comment out
mv statement there is an error complaining about a mssing .out file).
for file in find bin/www/css/ -name "*.css"; do
echo "Compiling CSS ${file}.."
#yui-compressor ${file} > ${file}.out
#mv ${file}.out ${file}
done

Then make and make install worked!

But when i run sudo bash server start, got the following error:
[root@localhost juci-feed]# sudo bash server start

PATH:/home/alex/Projects/juci/juci-feed/build/bin:/sbin:/bin:/usr/sbin:/usr/bin
UBUS
RPCD
rpcd: connected to ubus
rpcd: session init
rpcd: uci init
rpcd: plugin init
rpcd: loading /usr/lib/rpcd/juci-ubus-core.so
rpcd: purge savedirs
rpcd: started
QUEST
NETIF
UHTTPD
connected as 502c3854
[root@localhost juci-feed]# chdir(main path): No such file or directory
chdir(main path): No such file or directory
Failed to load network config


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

mullex avatar mullex commented on July 30, 2024

It finally works fine and i can open 127.0.0.1:8080

What is the default password for admin?

from juci.

mkschreder avatar mkschreder commented on July 30, 2024

The same as for linux user admin.
On 9 Jul 2015 18:17, "mullex" [email protected] wrote:

It finally works fine and i can open 127.0.0.1:8080

What is the default password for admin?


Reply to this email directly or view it on GitHub
#2 (comment)
.

from juci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.