I am seeking to use Presage and have been following the instructions in the Read Me file, found at https://sourceforge.net/p/presage/presage/ci/master/tree/
First, I installed Presage following the setup file under Downloads. Then, as a Windows user, I downloaded the Cygwin environment. When I go to unpack Presage, using the code given in the Presage Read Me guide, in the Cygwin command prompt, I receive this output:
tar (child): presage-*tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Running the most recent installer for Presage created a new document folder called Presage within my user folder. I tried copying both the file itself, and then the entire folder, to Downloads, but this did not resolve anything. Similarly, I tried moving Cygwin to Downloads, but this did not help. I then conducted a search for presage.tar.gz, which is what I want to untar. The Presage installer provided files presage_theme.tar.gz and presage_files.tar.gz, but no presage.tar.gz.
I then tried the second most recent release of Presage, but this did not fix the problem, either.
What is happening?
Thanks for your help!
In your Download directory, where Presage.tar.gz is located, open your Cygwin terminal, then follow the instructions as also provided in Presage:
NOTE: This will extract the file to the current (Download) directory.
STEP 1: Unpacking Presage
On Linux/Unix, uncompress and untar the distribution with:
tar zxvf presage_theme.tar.gz && tar zxvf presage_files.tar.gz
or
tar -xzvf presage_theme.tar.gz && tar -xzvf presage_files.tar.gz
(This should uncompress 2 different directories for you presage_theme and presage_files)
STEP 2: Configuring Presage
Configuring Presage to different platforms, environments and
operating systems is simply a matter of running
./configure
in the top-level directory of the distribution. This will configure
Presage for your system. Should you require additional options, try
./configure --help
to see the available options.
STEP 3: Compiling Presage
Kick off the compilation with
make
This will build the Presage system, libraries and available
plugins.
STEP 4: Installing Presage
Install Presage and its support libraries and plugins by typing
make install
For posterity: The problem was that my version of Windows was not compatible with even the most recent version of Presage. There is a patch fix available for it online.
Related
Ubuntu Version: 19.10
Code Composer Version: CCS10.1.0.00010_linux-x64
I'm trying to install the Code Composer at Linux. But at README into Code Composer file, say this.
Code Composer Studio for Linux README
-----------------------------------------
Please note that use of anti-virus software or a firewall may cause issues
during installation. McAfee software in particular has been especially
troublesome. If possible, disable anti-virus and firewall software during
installation. If not, use of the Offline Installer is strongly recommended.
If you are using an Offline CCS Installer, the tar.gz file in which it is
distributed must first be extracted:
1. tar xfz CCSxx.x.x.xxxxx_linux-x64.tar.gz
2. cd CCSxx.x.x.xxxxx_linux
If you are using the Online/Web installer you need to extract the respective tar file
1. tar xfz CCSxx.x.x.xxxxx_web_linux-x64.tar.gz
Once extraction has successfully completed, proceed with the installation
steps below.
To install Code Composer Studio:
1. Execute ccs_setup_xx.x.x.xxxxx.run
2. Choose where you want to install.
3. Select the components you wish to install.
I extracted the file using the command
tar xfz CCS10.1.0.00010_linux-x64.tar.gz -C ../Documents/CodeComposer
I navigated to CodeComposer directory and used ls to see the files and I saw the file that the readme say to run.
So I wrote the command
ccs_setup_10.1.0.00010.run
And appeared this
zsh: command not found: ccs_setup_10.1.0.00010.run
Can you do ./ccs_setup_10.1.0.00010.run instead?
ccs_setup... is not on your path, so you need to give it a specific relative path so it knows where to look.
I have a rpm created for dev environment and CONTAINS a configuration file that points to dev. Now I have to create the rpm for another environment for which I need to replace just one file in the SOURCES folder and update the reference in .spec and rebuild it. Issue is that I don't have the .spec file that I used to create the rpm for dev.
So upon searching, came across rpmrebuild and I was able to see the .spec file in the editor.
When I give rpmrebuild command, the spec file opens in the editor.
Here's the small snippet from the file
/root/rpmbuild/SOURCES /root/rpmbuild/SOURCES
%files
%attr(0755, root, root) "/opt/**{replace/with/newfile/path**}"
But updating that that gives me - File not found: /root/.tmp/rpmrebuild.2345/work/root/opt/{path/to/newfile}
I don't know if I have to use rpmrebuild command with any --params in order to replace the file in the SOURCES and its reference in the .spec. There are no other changes to be made.
Please guide.
Note: I am a unix novice
I presume you do not have the src.rpm for this package. If you do, then it's very easy, simply install that with rpm -ihv /path/to/src/rpm as you would do with any RPM file. The contents, unless specified otherwise, will be extracted to ~/rpmbuild. The spec will be under ~/rpmbuild/SPECS, the sources under ~/rpmbuild/SOURCES, etc.
If you do not have the src.rpm but only the RPM itself, install the rpmrebuild package from the EPEL repos and then:
$ rpmrebuild -e -p /path/to/package
It will open the spec in your default editor. Edit it and save the spec wherever you want.
Then, assuming you have all the needed source files (declared in the spec using the SourceN directives), you can call:
$ rpmbuild -bb /path/to/spec
To rebuild the RPM from the edited spec.
I'm faced with a problem. I don't know what to do next:
asterisk: error while loading shared libraries: libjansson.so.4:
cannot open shared object file: No such file or directory
First try just run
ldd
If not help, try find libjansson.so.4. If found, ensure it is in path. If not found, try libjansson.so*(any other version) and do symlink to libjansson.so.4.
First have the required release of jansson :
untar is and run (if already installed then skip this part)
./configure
make
make check
make install
ldconfig creates the necessary links to the runtime libraries, you need to create a config file and add the path of the library of your choice.
echo “/usr/local/lib” > /etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
reference : this
I already installed asteriskNow 2.0 ISO, thus after system installation, i've already have built-in asterisk within CentOS. I do not need to download source package and compile the source files. But right now, i have an situation that requires to recompile asterisk again.
I checked it out the installation tutorial which needs to go to the asterisk source directory to execute following commands:
# make clean
# ./configure
# make menuselect
# make install
# make samples
My questions : Is it the asterisk source directory means the directory which has asterisk installation files? But in my case, i do not download and compile the asterisk source ever.What should i do?
I asked myself: It needs to download source from and execute the following commands:
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8.17.0.tar.gz
tar xzf asterisk-1.8.17.0.tar.gz
cd asterisk-1.8.17.0
./configure
make
make install
I am trying to run these commands given in the read me of protocol buffer
$ ./configure
$ make
$ make check
$ make install
when I give ./configure, I get the error
bash: ./configure: No such file or directory
First of all, it seems like you haven't got to the right directory that has the executable file "configure."
If your goal is to install protocol buffer on Windows, specifically for Java, you can do the following steps:
Download 2 files from http://code.google.com/p/protobuf/downloads/list (get the most up-to-date version)
protobuf-2.4.1.zip
protoc-2.4.1-win32.zip (this is the pre-compiled file for easy install)
Follow instructions in README from the downloaded protobuf
Install Apache Maven
Follow instructions in README in the downloaded Apache Maven
Step 3 is the one that I spent a lot of times since I hadn't read the whole documentation in the first place and did a harder way. I suggest to do step 3B since it takes me 5 minutes instead of waiting to download cygwin.
[DIFFICULT]For compiling binary ourselves, download and Install cygwin (REMEMBER to select gcc)
Run ./configure, make, make check, make install
[EASY] Using pre-compiled binary:
Unzip protoc-2.4.1-win32.zip
Place protoc.exe in protobuf-2.4.1\src (notice that this is different than protobuf-2.4.1\java\src . Some people on the net is confused between these 2 files so they'll get "An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "../src/protoc"" exception and have to change the pom.xml file manually. If we place the protoc.exe in the correct folder, we don't have to modify anything as I'm aware of)
Place protoc.exe in PATH (i.e. protobuf-2.4.1\src)
Then, below is just the copy from README file
Check protoc by executing "protoc --version"
cd protobuf-2.4.1\java (which has the file "pom.xml")
run "mvn test", "mvn install", "mvn package"
Should not have any errors
you must run ./autogen.sh first