Error while installing gcc

Hi, As part of building an image processing application on plcnext, was trying to install python imaging library “Pillow”. Also, need to install gcc as a dependancy. While trying to install gcc with ipkg I am getting the below space issue, root@axcf2152:/opt/plcnext/# ipkg install gcc Installing gcc (7.2.0-7) on /opt/.

Collected errors:

  • verify_pkg_installable: Only have 48844kb available on filesystem /opt, pkg gcc needs 219072
  • opkg_install_cmd: Cannot install package gcc.
    root@axcf2152:/opt/plcnext/# Current filesystem space details, root@axcf2152:/opt/plcnext/# df -h
    Filesystem Size Used Avail Use% Mounted on
    devtmpfs 246M 104K 246M 1% /dev
    tpmfs 246M 376K 246M 1% /var/volatile
    /dev/root 292M 219M 54M 81% /media/rfs/ro
    /dev/mmcblk0p6 488M 405M 48M 90% /media/rfs/rw
    overlay 488M 405M 48M 90% /
    tmpfs 246M 116K 246M 1% /run
    /dev/mmcblk0p7 27M 430K 25M 2% /etc/device_data

Is it possible to increase the filesystem size of /opt ? Note: Found this link - https://github.com/flobauer/phoenixcontact_fe . where they are using Pillow for an application . I have installed the required prerequisites as well. Regards, Umesh

Hello Umesh, yes you need to use a large PLCnext external SD Card.

you can buy it at www.phoenixcontact.com → your region.

or remove unused content.

If you manually configure the Overlay Filesystem or the mount in general we can not guarantee that the system as a whole or some of its features will continue functioning as intended. kind regards,
Oliver

Thanks Oliver.