Latex package missing but tlmgr says I have it - latex

I'm trying to render a latex document I got from school. the problem seems to be coming from the document using the package "diagrams".
I get the error: "diagrams.sty Latex error: File 'pstricks.sty' not found"
When I go to the terminal and run sudo tlmgr install pstricks, I get the response tlmgr install: package already present: pstricks. So I'm not sure what to do next.
I'm using the app TexPad on MacOS and just updated my tex install via MacTex. Thanks in advance for any advice!

Related

Installing Infer Using Brew Failed (No Bottle)

I am trying to install Infer, a static analysis tool developed by Facebook. I tried following the tutorial for Mac at this link: https://fbinfer.com/docs/getting-started/. I used the "brew install infer" command, however, I keep getting the following error:
Error: infer: no bottle available!
You can try to install from source with:
brew install --build-from-source infer
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
I don't know what I'm doing wrong since I just followed the instruction. Please help! Thank you
Please take a look at my modified brew formula to install it on macOS 12 + Apple Silicon.
It works using commit 5fd2f95 (HEAD) and not v1.1.0.

Why do I get dependency-error trying to install package "tidytext" in RStudio

I tried to install tidytext package and received below dependency-ERROR. Please help.
ERROR: dependency ‘ISOcodes’ is not available for package ‘stopwords’
ERROR: dependency ‘stopwords’ is not available for package ‘tidytext’
Looks like you need to install the ISOcodes package. Try that out:
install.packages("ISOcodes")

Error when installing PHP70 with Homebrew

When I try to install PHP7 with Homebrew I get this error
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/sbin/apxs follows:
apxs:Error: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config not found!.
configure: error: Aborting
And the command I've used to install it is :
brew install homebrew/php/php70
Here's a screenshot of my terminal:
Terminal Screen shot
Does any one have a solution for this, knowing that I've searching the web for a solution without any luck
Try this if you're upgrading:
brew reinstall php70 --without-apache
otherwise if you're installing php70 for the first time, try the following::
brew install home-brew/php/php70 --without-apache
Faced a similar issue, found it under this GitHub issue: https://github.com/Homebrew/homebrew-php/issues/3283

pod2man not found while installing Wireshark

I was trying to install WireShark 1.10.5 in linux.I was following the instructions provided with the software. Now,I am having problems while installing. It says pod2man cannot be found. How can i fix this?
checking for pod2man... no
configure: error: I couldn't find pod2man; make sure it's installed and in your path
try
apt-get install perl-modules
According to FOSSology bug 5619:
the pod2man utility which is used by the build process has been moved to a different package in Fedora 19 called perl-podlators
In previous versions it was in the package perl
so it appears you need to install the package "perl-podlators" to get pod2man.

Solaris 10: Latex post-installation error, looking for old libstdc++.so.5

I am trying to run Latex on Solaris 10/x86. I have successfully installed the tetex3.0 from sunfree. When I run Latex I get the following error:
ld.so.1: pdfetex: fatal: libstdc++.so.5: open failed: No such file or directory
and ldd pdfetex shows:
libstdc++.so.5 => (file not found)
I have the latest version (libstdc++.so.6) and tried to link libstdc++.so.5 to .6 however, the libstdc++.so.5 is not even installed in my machine. Is there a way to change the dependency from version 5 to 6? Or any other way around this problem? Thanks.
I think you missed their note stating that
[..] that you have the /usr/local/lib/libstdc++.so.5 and /usr/local/lib/libgcc_s.so.1 related files either from the gcc-3.3.2 or libgcc-3.3 or higher packages
Did you install [lib]gcc as well?

Resources