I have been trying to install Scilab from Source. When i run
./configure
i get this error
configure: error: Could not find or use the Java package/jar freehep-graphics2d used by Freehep Graphics2D (looking for package org.freehep.graphics2d.VectorGraphics)
hence, i tried to install it in fedora 23 but could not find the package. Any help would be appreciated.
Old! last updated in 2007! Your best bet is to compile the source. Start with
$ svn checkout svn://svn.freehep.org/svn/freehep/tags/vectorgraphics-2.1.1/freehep-graphics2d freehep-graphics2d
There is a pom.xml, so use Maven to build it. Good luck!
Update: see the Centos instructions at https://wiki.scilab.org/Compiling%20Scilab%205.x%20under%20GNU-Linux%20Unix#Compilation_under_CentOS
What do you have at:
$SCILAB/thirdparty/freehep-util.jar
$jardir/freehep-graphicsio-emf.jar
Actually, the best bet is as suggested above in a comment, to disable this feature.
Related
I have installed in my arch system code-oss following this guide https://wiki.archlinux.org/title/Visual_Studio_Code i have also modified product.json ,installed code-features and code-marketplace but doesn't work, i read a lot of thread about this topic but i don't found any solution Those are the error
Unfortunately, it looks like the latest upgrade of the icu package to version 71.1 broke some dependency requirements for the live share extension.
There is already some discussion happening in the official Github live-share feedback repository, most notably here. As of now, no general fix is available, but what seems to work for now is to install the old version 70 of icu from the AUR.
Example if you have trizen installed:
trizen -S icu70
This might take a while because it has to be compiled. Alternatively, there is also a binary build available for version 69:
trizen -S icu69-bin
Im trying to install the VMOD called basicauth.
This is the repo: https://git.gnu.org.ua/vmod-basicauth.git
There is also a README file which is supposed to help guide you through the process.
It tells you to pull the code, also pull code of varnish (did that with help of sudo apt-get source varnish )... I did that, so far so good.
But then Im supposed to do this:
run:
./configure --with-varnish-source=/usr/src/varnish-3.0.1 --with-vmod-dir
THE PROBLEM
I have been trying to figure out where to find that "configure" script. I have no idea where to find it.
When I look at other tutorials, like this one I guess that it should within the vmod-basicauth folder... but it is not. There is only configure.ac. It tried running that file, but that does not work. Does anyone of you know how I can install this VMOD? Any tips or help would be appreciated.
Also: it seems there is only information off very old tutorials and repos... any idea where I could some more up to date infos?
UPDATE
I have also downloaded "The Varnish Book" now, checked on how to isntall "libvmod-example." Within that folder there is a "autogen.sh" file that create the "configure" file. But I also cannot find a any "autogen.sh" in the basicauth package...
Hahha ..... arrrrrrr Im getting nowhere.
Does anyone know where I can find a good tutorial?
Im wokring with ubuntu-server currently. Noticed that redhad has VMODs in their repos, but that won't help me ;)
SYSTEM INFO
Here is some more info about my system:
dpkg -l | grep varnish
ii libvarnishapi-dev:amd64 6.2.1-2 amd64 development files for Varnish
ii libvarnishapi2:amd64 6.2.1-2 amd64 shared libraries for Varnish
rc varnish 6.2.1-2 amd64 state of the art, high-performance web accelerator
Serverifno (a local development VM in this case):
Best,
AuthenticPinguin
I just tested it, and I didn't experience any problems compiling the VMOD.
Here's a step-by-step guide on how to install it.
1. Get a recent Varnish version
I'm not sure whether or not you installed Varnish through the Ubuntu packages, but I advise you to install it via the official packages: https://packagecloud.io/varnishcache/.
2. Install the build dependencies
Install the required build dependencies by using the following command:
apt-get install -y varnish-dev autoconf automake gcc libtool make python3-docutils git
Most of these dependencies are trivial, but there's one specific package that might not be found unless you're using the official Varnish package repo. It's varnish-dev.
I've tried looking for it natively in the Ubuntu Focal repository, and the closest I came was libvarnishapi-dev, but that didn't really work.
That's why I advise using the official packages from https://packagecloud.io/varnishcache/. The version I prefer is https://packagecloud.io/varnishcache/varnish60lts, because it's the LTS version.
3. Get the source code
Once you've put all the dependencies in place, you can go ahead and download the VMOD source code by running the following commands:
cd /usr/src/
git clone git://git.gnu.org.ua/vmod-basicauth.git
As you can see the code will be place in the /usr/src directory.
4. Compile the code
Now that the source code is on your system, you run the following commands to configure, compile and install the VMOD code:
./bootstrap
./configure
make
make install
If ./configure cannot be found, it means it wasn't properly generated by the ./bootstrap command. If that happens, have a look at the output of your ./bootstrap command to figure out what went wrong.
5. Import the VMOD
The VMOD has been installed in the proper location, so it's time to import it into your VCL file and use its features.
Here's a VCL example:
vcl 4.1;
import basicauth;
sub vcl_recv {
if (!basicauth.match("/var/www/.htpasswd",req.http.Authorization)) {
return(synth(401,"Authentication required"));
}
}
I would like to compile ARToolKit source code on Linux, download the source code, and in accordance with the ARToolKit document, configuration GLUT, OpenGL, libjpeg other libraries.
Go to the ARToolKit directory and type ./Configer
Configer information image.
Enter the make command,The error occurs.
What are the causes of these errors? How can I solve? thanks.
according to your configuration screenshot you miss a gstreamer installation.
Please do:
sudo apt-get install libgstreamer0.10-dev
see here for more information: http://artoolkit.org/documentation/doku.php?id=8_Advanced_Topics:build_artoolkit
Let me know if that works for you
Edit:
Just saw that there are 3 more comments and that you already installed libgstreamer to fix the issue thanks to Michael O.
I installed the luarocks package on Linux Mint, and afterwards installed a couple of rocks such as sudo luarocks install telescope, but when running a script via lua script.lua, require cannot find the module.
Meta: Doing this Q&A style, because while questions that answer this exist, none seem to be generically titled or easily findable, and I hope that I can help someone with this.
In this specific case, the problem was simply that on my distribution, the default Lua version installed was at the time of writing this 5.2, whereas the LuaRocks package was built for 5.1, meaning that Lua 5.2 could not find the rocks due to using different paths for modules.
The solution to the problem was downloading the LuaRocks source code from its github repository, and compiling it for 5.2
./configure --lua-version=5.2
make build
sudo make install
To make sure I can also install packages for LuaJIT, which as of the moment uses 5.1 libs, I have also executed the above lines with lua-version=5.1 beforehand (if I executed them after, the default luarocks command would point at the 5.1 build.
To build LuaRocks, you need liblua5.2-dev and/or liblua5.1-dev
The solution for me is this.
I try
eval "$(luarocks path)"
and it works.
Hope it works for others.
I have found a simulator called ntpdsim for NTP: http://www.eecis.udel.edu/~mills/ntp/html/ntpdsim_new.html
I canot figure out on what OS I can use it. On the page there is no download content. So I thought it is integrated in the NTP package.
I have tried Ubuntu and Opensuse. On both I have installed NTP, but there is no program called ntpdsim.
How can I use this tool?
ntpdsim is indeed part of the ntp source tarball, however apparently not included in the distribution packages you cite.
When compiling from source, you need to run ./configure with --enable-simulator to build/install it. That's at least what ./configure --help says.
Check ./configure --help to see if there's a build option you need to enable.
I think this is what you're looking for : http://doc.ntp.org/4.2.2p1/ntpdsim.html