Comments (8)
Part of it (C:\apps\roll-2.1.0/roll.c:138: undefined reference to
random') definitely looks like the result of
checking for srandomdev... no`. There appears to be a potential fix available, by modifying an implementation of random to work with MinGW:
https://sourceforge.net/p/mingw/mailman/message/7945853/
Of course, me being primarily a java programmer means I'm a little lost as to how to turn this into an actual solution.
from roll.
I will take a look but I will have to setup a Windows VM first.
from roll.
Hi can you try with my latest commit to see if it works?
from roll.
Just attempting to build the app from source. Turns out that I'm missing a few necessary tools. #fml
Get this when attempting to run aclocal on the project:
C:\code\thirdparty\roll>perl "c:\Program Files (x86)\GnuWin32\bin\aclocal"
Can't locate Automake/Config.pm in @INC (you may need to install the Automake::Config module) (@INC contains: C /PROGRA~2/GnuWin32/AutoMake/share/automake-1.9 /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at c:\Program Files (x86)\GnuWin32\bin\aclocal line 36.
BEGIN failed--compilation aborted at c:\Program Files (x86)\GnuWin32\bin\aclocal line 36.
Might be worth just waiting until I can get my laptop upgraded to Win10, then use a Docker container to build / run it.
from roll.
A also don't have a Windows machine with the necessary tools. I will publish the new version anyway as it should work
from roll.
Running make
on 2.1.1 now no longer has the srandomdev
error, but spits out the following:
make all-am
make[1]: Entering directory `C:/apps/roll-2.1.1'
gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT roll-roll.o -MD -MP -MF .deps/roll-roll.Tpo -c -o roll-roll.o `test -f 'roll.c' || echo './'`roll.c
roll.c: In function 'main':
roll.c:257:5: warning: implicit declaration of function 'yy_scan_string' [-Wimplicit-function-declaration]
yy_scan_string(expression);
^
roll.c:259:5: warning: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration]
yyparse();
^
mv -f .deps/roll-roll.Tpo .deps/roll-roll.Po
gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT roll-parser.o -MD -MP -MF .deps/roll-parser.Tpo -c -o roll-parser.o `test -f 'parser.c' || echo './'`parser.c
mv -f .deps/roll-parser.Tpo .deps/roll-parser.Po
gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT roll-scanner.o -MD -MP -MF .deps/roll-scanner.Tpo -c -o roll-scanner.o `test -f 'scanner.c' || echo './'`scanner.c
scanner.c:1290:17: warning: 'yyunput' defined but not used [-Wunused-function]
static void yyunput (int c, char * yy_bp )
^
scanner.c:1337:16: warning: 'input' defined but not used [-Wunused-function]
static int input (void)
^
mv -f .deps/roll-scanner.Tpo .deps/roll-scanner.Po
gcc -Wall -g -O2 -o roll.exe roll-roll.o roll-parser.o roll-scanner.o -lm
make[1]: Leaving directory `C:/apps/roll-2.1.1'
From what I can see online (http://stackoverflow.com/q/9427145/41223), those warnings are potentially non-critical, but following this up with make install
throws a fit when attempting to access the /usr/local
directory:
make install-am
make[1]: Entering directory `C:/apps/roll-2.1.1'
make[2]: Entering directory `C:/apps/roll-2.1.1'
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/mkdir: cannot create directory '/usr/local': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `C:/apps/roll-2.1.1'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `C:/apps/roll-2.1.1'
make: *** [install] Error 2
I'll see if I can fiddle a workaround and report back.
from roll.
Right, since I'm using the git-bundled shell, it's necessary to create a local
folder in the %GIT_HOME%/usr
directory. Security must be allowed such that any user can write to the folder (or run make install as admin
, then make install
succeeds without errors.
from roll.
Hi you can specify the installation path with the --prefix
option when running configure
from roll.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roll.