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.

April 5, 2014

How to reset Hay Day…without resetting your device

Filed under: Apple — admin @ 11:51 pm

Finally figured out how to reset Hay Day – and this can be done multiple times without resetting your entire iPhone/iPad! These are the steps I followed – you can probably shorten the steps – but I quit/restarted more than once to make sure its working the way I expected

Here’s the Trick – You need a spare iOS device (iphone, ipad, ipod) that’s never played Hay Day Before (or a new device, or one that has recently been reset with Erase all content).

For these instructions – Let’s say you want to reset Hay Day on your iPhone (your main device), and you have an iPad that’s never played Hay Day Before (the spare one we will use to create a new farm). And for discussion’s sake, let’s call your GameCenter account “ABCD”

iPhone (device where you want to reset Hay Day):
———————————————————
Quit Hay Day on your iPhone
Log Out of ABCD in Game Center on your iPhone (Settings/Game Center)

iPad (never played Hay Day before):
——————————————

  • Log in to the ABCD Game Center account though Settings/GameCenter
  • Start Hay Day (or install it and start it)
  • The game will be NEW – starting with a video
  • Hay Day will access Game Center…and you will see a GameCenter Alert saying something like this. “We found another farm attached to this Game Center Account. Do you want to Load it?” : “YES Load Game” or “No, Keep Current Game”. Answer KEEP THE CURRENT GAME
  • To be safe – quit Hay Day – reload it – and make sure it comes up with the “new” farm without the Game Center Alert.
  • If everything looks good – go to settings/game center and put the iPad back to its normal Game Center account. You’re done with the iPad
  • Now – Game Center ABCD account holds a new Farm for me

iPhone:
———

  • Log in to ABCD account (Settings/Game Center)
  • Start Hay Day
  • GameCenter Alert will appear – “We found another farm attached to this Game Center Account. Do you want to Load it?”. Answer: LOAD THE GAME

That’s it! You now have a beginner’s farm on your iPhone without needing to reset the device

Older Posts »

Powered by WordPress