Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 03:14:33 -1000
From:      parv@pair.com
To:        perl@freebsd.org
Subject:   install looking in $WRKDIR/stage/*/site_perl/mach/5/ but */mach/5.20 exists
Message-ID:  <20150924131433.GA58316@holstein.holy.cow>

next in thread | raw e-mail | index | archive | help
I had deinstalled perl 5.20 & p5* modules. Reinstalling the modules is
giving errors for some of the ports (excerpt from install process of
p5-subversion)...

  pkg-static: Unable to access file \
    /misc/work/ports/misc/ports/devel/p5-subversion/work/stage/misc/local/lib/perl5/site_perl/mach/5/SVN/Repos.pm: \
    No such file or directory

  # where PORTSDIR is /misc/ports;
  #       WRKDIRPREFIX is /misc/work/ports;
  #       WRKDIR is /misc/work/ports/misc/ports/devel/p5-subversion/work;


... obviously ...

  # ll /misc/work/ports/misc/ports/devel/p5-subversion/work/stage/misc/local/lib/perl5/site_perl/mach/
  total 6
  drwxr-xr-x  3 root  wheel  512 Sep 24 03:12 ./
  drwxr-xr-x  4 root  wheel  512 Sep 24 03:12 ../
  drwxr-xr-x  4 root  wheel  512 Sep 24 03:12 5.20/


So making a symbolic link from ...

  $WRKDIR/stage/misc/local/lib/perl5/site_perl/mach/5

... to the directory actually existing ...

  $WRKDIR/stage/misc/local/lib/perl5/site_perl/mach/5.20

... allows them to be installed but have to do for every one.
Of course, the files are installed in
$LOCALBASE/lib/perl5/site_perl/mach/5/


  - parv


/etc/make.conf ...

  LOCALBASE=    /misc/local
  LINUXBASE=    ${LOCALBASE}/linux
  PORTSDIR=     /misc/ports
  PACKAGES=     /misc/pkgs
  WRKDIRPREFIX= /misc/work/ports
  CPUTYPE?=     core2
  WITHOUT_modules=      acpi_sony acpi_toshiba acpi_hp acpi_asus acpi_fujitsu acpi_panasonic
  WITH_OPTIMIZED_FLAGS= yes
  WITH_OPTIMIZED_CFLAGS=        yes
  OPTIONS_SET=OPTIMIZED_CFLAGS
  DOC_LANG=     en_US.ISO8859-15
  WITHOUT_SENDMAIL=     yes
  WITHOUT_JAVA= yes
  QT4_OPTIONS+=QGTKSTYLE
  PERL_VERSION=  5.20
  PERL5_DEFAULT=  5.20
  DEFAULT_VERSIONS+=  perl5=5.20

... and /etc/ports.conf ...

  LOCALBASE=    /misc/local
  LINUXBASE=    ${LOCALBASE}/linux
  WRKDIRPREFIX= /misc/work/ports
  PACKAGES=     /misc/pkgs
  DOC_LANG=     en_US.ISO8859-15
  WITH_PKG=     yes
  WITH="OPTIMIZED_FLAGS OPTIMIZED_CFLAGS"
  WITHOUT_CUPS= yes
  WITHOUT_SAMBA=        yes
  WITHOUT_HAL=  yes
  WITHOUT_DBUS= yes
  WITHOUT_GNOME=        yes
  WITHOUT_GNOMEVFS=     yes
  WITHOUT_ICONV=        yes
  WITHOUT_NLS=  yes
  WITHOUT_JACK= yes
  WITHOUT_JAVA= yes
  WITHOUT_DOXYGEN= yes
  WITHOUT="DOXYGEN DEVIL CUPS GCONF SAMBA HAL DBUS JAVA JACK ICONV NLS"

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150924131433.GA58316>