Kroko Just another WordPress weblog

October 9, 2017

Erori compilare mc pe macos 10.13 macports

Filed under: MacOS — admin @ 11:05 am

Urmati tutorialul de mai jos daca primiti acelasi mesaj ca si mine:

kroko:sources kroko$ sudo port install mc

—>  Computing dependencies for mc

—>  Fetching archive for mc

—>  Attempting to fetch mc-4.8.19_0+slang2.darwin_17.x86_64.tbz2 from https://packages.macports.org/mc

—>  Attempting to fetch mc-4.8.19_0+slang2.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/mc

—>  Attempting to fetch mc-4.8.19_0+slang2.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/mc

—>  Fetching distfiles for mc

—>  Verifying checksums for mc

—>  Extracting mc

—>  Applying patches to mc

—>  Configuring mc

—>  Building mc

Error: Failed to build mc: command execution failed

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_mc/mc/main.log for details.

Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Error: Processing of port mc failed

 

FIX:

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_mc/mc/work/mc-4.8.19

editam fisierul: src/filemanager/file.c

cautam linia ”

get_times (const struct stat *sb, mc_timesbuf_t * times)"

si acolo vom gasi ceva de genul:

get_times (const struct stat *sb, mc_timesbuf_t * times)

{

#ifdef HAVE_UTIMENSAT

    (*times)[0] = sb->st_atim;

    (*times)[1] = sb->st_mtim;

#else

     times->actime = sb->st_atime;

     times->modtime = sb->st_mtime;

 

modificam liniile:

    (*times)[0] = sb->st_atim;

    (*times)[1] = sb->st_mtim;

cu:

    (*times)[0] = sb->st_atimespec;

    (*times)[1] = sb->st_mtimespec;

 

in final trebuie sa ramanem cu:

get_times (const struct stat *sb, mc_timesbuf_t * times)

{

#ifdef HAVE_UTIMENSAT

    (*times)[0] = sb->st_atimespec;

    (*times)[1] = sb->st_mtimespec;

#else

     times->actime = sb->st_atime;

     times->modtime = sb->st_mtime;

dupa ce terminam de editat lansam din nou comanda:

kroko:mc-4.8.19 kroko$ sudo port install mc

--->  Computing dependencies for mc

--->  Building mc

--->  Staging mc into destroot

--->  Installing mc @4.8.19_0+slang2

--->  Activating mc @4.8.19_0+slang2

--->  Cleaning mc

--->  Updating database of binaries

--->  Scanning binaries for linking errors

--->  No broken files found.

Great succes 🙂

August 27, 2014

Mac OS X: LibreOffice windows are blurry on Retina displays

Filed under: MacOS — admin @ 12:16 pm
It looks like the /Applications/LibreOffice.app/Contents/Info.plist shows 
a "false" value for NSHighResolutionCapable causing it to not use retina 
text rendering.

You need to change this:

    <key>NSHighResolutionCapable</key>
    <false/>

To this:

    <key>NSHighResolutionCapable</key>
    <true/>

Note: if you want to fix an existing copy of LibreOffice, you need to update 
the Info.plist, then rename LibreOffice.app to something else like 
LibreOfficeRetina.app, open the application and see that retina works, then 
close and rename it back to LibreOffice.app.  I'm not sure how else to clear 
the cached value but that works.

January 11, 2014

Prozilla for MacOS

Filed under: MacOS — admin @ 11:11 pm
ProZilla is a download accelerator which gives you a 200% to 300% improvement (or possibly more depending on your connection) in your file downloading speeds.Features:

  • Supports FTP
  • Supports HTTP including redirection.
  • Proxy servers supported.
  • Resume Supported.
  • Improved error checking and correction.
  • Complete acceleration: The file will be downloaded as fast as possible as your more…
WHAT’S NEW

Version 2.04:

  • Now the downloads are ALL to a SINGLE file. There is no downloading to individual files as was done previously.
  • Multiple server based downlaoding is supported based on ftpsearch and ping results obtaines for a URL prozilla will attempt to make multiple connections to different servers and try to speed up the download even more.

REQUIREMENTS
Intel, Mac OS X 10.6 or later

Download: prozilla-macosx-snowleopard

Older Posts »

Powered by WordPress