Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies on OSX #2

Open
nodje opened this issue Mar 5, 2014 · 3 comments
Open

Dependencies on OSX #2

nodje opened this issue Mar 5, 2014 · 3 comments

Comments

@nodje
Copy link

nodje commented Mar 5, 2014

Being Perl illiterate, among other deficiencies, I'm having a tough time to get it working on OSX:

  1. I can't start to use brew to install package since I'm using Macports. It did mess up my system to have both at the same time, so had to give it up.
    Pango is installed, but can't find equivalent to Gtk2 and gtk+
    Why do these need to be installed if they are going to be installed as Perl package later on anyway?
  2. Having $ echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)"' >>~/.bashrc being part of 3) feels like it has to be run from cpan. A bit misleading.

I'm not sure I understand what this line does, but it seems like auto searching for perl path: it fails on my system, most probably because having perl installed from Macports in /opt/local/bin/perl, reporting @inc not containing anything from /opt/local:
bash-3.2$ ./gritz.pl Can't locate Glib.pm in @INC (@INC contains: /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2/darwin-thread-multi-2level /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at ./gritz.pl line 21. BEGIN failed--compilation aborted at ./gritz.pl line 21.

I know it's a pain, but I guess you'll have to write up something more generic if you want others to be able to get it up and running on their system without asking questions...

@xypiie
Copy link
Owner

xypiie commented Mar 7, 2014

I have absolutely no experience with OSX. I got this installation tutorial from a friend. I'll ask him to have a look at it.

@mgifford
Copy link

I got a similar error today:

$ ./spread0r.pl
Can't locate Glib.pm in @inc (@inc contains: /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at ./spread0r.pl line 21.
BEGIN failed--compilation aborted at ./spread0r.pl line 21.

@zkring
Copy link

zkring commented Nov 10, 2014

You need made sudo cp /opt/X11/lib/pkgconfig/*.pc /usr/lib/pkgconfig/ before install glib. I will try to tell to the coder to change it for work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants