Saturday, November 17, 2007
Qt4.x based programs: qtiplot 0.9 for Macs with PowerPC processor(s)
A binary installer of the qtiplot 0.9 (includes required Qt 4.3.2-, gsl1.9, muparser 1.2.7, pyQt 3.1.7 & sip 4.5.2) packed for Macs with PowerPC processor(s) is available from the Qt4.x-software section on the ATG website. You need an additional installation of Python 2.5 on your computer to use it (PLEASE install BEFORE installing qtiplot 0.9 on your Mactel)!
QtiPlot is a graphing and analysis software for scientists and engineers. Some of its features: 2D and 3D data plotting, ASCII-, Origin™-Import, powerful and versatile spreadsheets and calculations in column-logic, non-linear y=f(x) curve fitting and estimation of statistical errors of the fit-parameters.
Qt4.x basierte Programme: QtiPlot 0.9 für Macs mit IPowerPC-Prozessor(en)
Ein für Macs mit PowerPC-Prozessor(en) erstelltes Installationspaket von QtiPlot 0.9 (enthält Qt 4.3.2, gsl1.9, muparser 1.2.7, pyQt 3.1.7 & sip 4.5.2) steht auf der ATG Webseite zur Verfügung (unter Qt4.x basierte Software) - eine Python 2.5-Installation wird zusätzlich benötigt (BITTE VORAB installieren!).
QtiPlot ist ein Programm für Wissenschaftler und Ingenieure zur Datenanalyse und Darstellung. Einige Eigenschaften sind: Darstelllung von Datensätzen in 2D und 3D, ASCII-, Origin™-Datei-Import, integrierte Tabellenkalkulation mit vielfältigen Funktionen, nicht-lineares y=f(x) Fitting von Daten.
Wednesday, October 03, 2007
Qt4.x based programs: Universal binary of cb2bib 0.8.4
An universal binary installer for cb2bib 0.8.4 can be downloaded from the Qt4.x-software section on the ATG website. cb2Bib - is a tool for rapidly extracting unformatted biblographic references from email alerts, journal Web pages, and PDF files. The cb2Bib is intended to be used by scientists and students. It facilitates catching single references at the time of being announced. The references are formatted as BibTeX standard. Applications like Bibdesk, Pybliographer, or OpenOffice can later retrieve, import, use, or display these BibTeX references.
Qt4.x-basierte Programme: Universal Binary Installationspaket für cb2bib 0.8.4
Auf der Qt4.x-Softwareseite von ATG findet sich ein entsprechendes Installationspaket zum Herunterladen. cb2Bib ist ein Programm mit dem sich sehr schnell unformatierte bibliografische Referenzen aus E-Mails, dem W³-Angebot von Zeitschriften, oder PDF-Dateien extrahieren lassen. cb2Bib richtet sich an Wissenschaftler oder Studenten. Es erleichtert das Erfassen einzelner Publikationsreferenzen im Moment ihres Erscheinens. Referenzen werden gemäß dem BibTeX-Standard erfasst und gespeichert.
Qt4.x based programs: Universal Binary of massxpert 1.6.2 rc2
a universal binary installer of massxpert 1.6.0 rc2 is available for download from the ATG website (within the Qt4.x software section) massxpert is a mass spectrometric software suite that aims at letting users predict/analyze mass spectrometric data on (bio)polymers. It allows highly sophisticated editing of polymer sequences on a polymer chemistry definition-specific basis, along with chemical reaction simulations, finely configured mass spectrometric computations, and much more. Needs MacOSX 10.4.x (or higher)
Qt4.x basierte Software: massxpert 1.6.0 rc2 als Universal Binary Installationspaket
massxpert ist ein freies Massenspektroskopie-Softwarepaket zur Analyse von (Bio)Polymeren. Für MacOSX 10.4 (oder höher) steht ein Installationspaket als Universal Binary zum Download im Qt4.x-Softwarebereich der ATG-Webseite zur Verfügung.
Tuesday, October 02, 2007
Qt4.x based programs: qtiplot 0.9 for Macs with Intel processor(s)
A binary installer of the qtiplot 0.9 (includes required Qt 4.3.0-, gsl1.9, muparser 1.2.7, pyQt 3.1.7 & sip 4.5.2) packed for Macs with Intel processor(s) is available from the Qt4.x-software section on the ATG website. You need an additional installation of Python 2.5 on your computer to use it (PLEASE install BEFORE installing qtiplot 0.9 on your Mactel)!
QtiPlot is a graphing and analysis software for scientists and engineers. Some of its features: 2D and 3D data plotting, ASCII-, Origin™-Import, powerful and versatile spreadsheets and calculations in column-logic, non-linear y=f(x) curve fitting and estimation of statistical errors of the fit-parameters.
Qt4.x basierte Programme: QtiPlot 0.9 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes Installationspaket von QtiPlot 0.9 (enthält Qt 4.3.0, gsl1.9, muparser 1.2.7, pyQt 3.1.7 & sip 4.5.2) steht auf der ATG Webseite zur Verfügung (unter Qt4.x basierte Software) - eine Python 2.5-Installation wird zusätzlich benötigt (BITTE VORAB installieren!).
QtiPlot ist ein Programm für Wissenschaftler und Ingenieure zur Datenanalyse und Darstellung. Einige Eigenschaften sind: Darstelllung von Datensätzen in 2D und 3D, ASCII-, Origin™-Datei-Import, integrierte Tabellenkalkulation mit vielfältigen Funktionen, nicht-lineares y=f(x) Fitting von Daten.
qucs 0.0.12 including freeHDL 0.0.4 and ASCO 0.4.6 for Intel-based Macs
A binary installers of the qucs 0.0.12 including freeHDL 0.0.4 and ASCO 0.4.6 packed for Macs with Intel processor(s) is available from the Qt3.3.x-software section on the ATG website. Qucs - briefly for Quite Universal Circuit Simulator, is a circuit simulator with graphical user interface. The software aims to support all kinds of circuit simulation types, e.g. DC, AC, S-parameter, harmonic balance analysis etc. For people who are familiar which such simulators they should remember ADS© from Agilent Technologies©, Microwave Office© from AWR© and all the other simulators.
Qucs 0.0.12 inkl. freeHDL 0.0.4 und ASCO 0.4.6 für Macs mit Intel-Prozessor(en)
Ein Installationspaket für Macs mit Intel-Prozessor(en) des qucs 0.0.12 inklusive freeHDL 0.0.4 und ASCO 0.4.6 stehen auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software). Qucs - der Quite Universal Circuit Simulator (abgekürzt Qucs) ist/wird ein Simulationsprogramm für Schaltungen. Über eine grafische Benutzeroberfläche lassen sich alle Arten von Schaltungen (DC, AC, S-Parameter, etc.) simulieren und analysieren.
Thursday, April 19, 2007
IPE 6.0 preview 28 EPS-Export Fix *well, sort of… ;)*
gentle persons,
there is a apparently a problem using EPS-graphics exported from IPE6.0pre28 with other Applications, particularly when using LaTeX/TeX or ghostscript. The problem is related to the way how IPE is creating a font dictionary programmed in PostScript to identy the fonts used and its encoding within the EPS files. IPE uses the /F(x) to mark the LaTeX font used by number and uses this information when parsing a pdf/eps/xml file when opening - bad sadly the way it is done brakes the stack processing by any PostScript engine I tried. One way to cope with this issue is not to save EPS but PDF files from within IPE. So:
1.) you do your drawings and save them as pdf from within IPE.
2.) you have GhostScript 8.x installed on your system (presumably you have if you go "dvips" - if not use the i-installer to get and install the latest package easily)
3.) in a terminal you use the following command to convert a IPE created PDFs to "nice" EPS:
gs -dBATCH -dNOPAUSE -dNOPROMPT -sDEVICE=epswrite -sOutputFile=NameOFTheNewEPS.eps IPEWrittenPDF.pdf
done. The created EPS files can be included to LaTeX documents without any problem.
IPE 6.0 preview 28 EPS-Export Problem
leider lassen sich mit IPE 6.0pre28 erstellte EPS-Grafiken nicht problemlos in anderen Anwendungen, inbesondere LaTeX/TeX oder Ghostscript benutzen. Die Art und Weise, wie IPEpre28 innerhalb der EPS-Datei die verwendeten LaTeX-Schriften mit einem Dictionary ablegt, ist hier so zu sagen "der Stein des Anstosses". Die aktuelle Implementierung führt zu einem Fehler bei der Bearbeitung im PostScriptinterpreter *zumindest in denen, die ich ausprobiert habe*. Eine Möglichkeit, das Problem zu umgehen, besteht darin zunächst die Abbildung aus IPE heraus im PDF-Format zu sichern und diese dann anschliessend mittels Ghostscript 8.x (installierbar via z.B.:i-Installer) via Terminal in korrektes PostScript/EPS zu konvertieren:
gs -dBATCH -dNOPAUSE -dNOPROMPT -sDEVICE=epswrite -sOutputFile=NameOFTheNewEPS.eps IPEWrittenPDF.pdf
Die so erstellten EPS-Dateien lassen sich problemlos in anderen Anwendungen nutzen.
Edited on: Thursday, April 19, 2007 10:33 PM
Categories: bugfix!, MacOSX - the daily life
Sunday, April 15, 2007
Qt4.x based programs: IPE 6.0 preview 28 for Macs with Intel processor(s)
A binary installer of IPE 6.0 preview 28 packed for Macs with Intel processor(s) is available from the Qt4.x-software section on the ATG website. Ipe is a drawing editor for creating figures in PDF or (encapsulated) Postscript format. It supports making small figures for inclusion into LaTeX-documents as well as making multi-page PDF presentations that can be shown on-line with Acrobat Reader. Installer for Ipe 6.0 preview 28 (10.4Mb; Intel only). Needs MacOSX 10.4 or higher and an installation of MacTeX 2007 (the binary was tested with pdflatex 1.4; pdflatex must be located in /usr/texbin)
Qt4.x basierte Programme: IPE 6.0 preview 28 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes IPE 6.0 preview28-Installationspaket steht auf der ATG Webseite zur Verfügung (unter Qt4.x basierte Software). Ipe ist ein Zeichenprogramm mit dem sich Il lustrationen im PDF- und (encapsulated) PostScript-Format erzeugen lassen. Es lassen sich Abbildungen für LaTeX-Dokumente genauso erzeugen, wie mehrere Seiten umfassende PDF-Präsentationen. Installation Paket für Ipe 6.0 preview 28 (10.4Mb; nur für Intel). Benötigt MacOSX 10.4 oder höher und eine MacTeX 2007-Installation (von mir wurde nur mit pdflatex 1.4 getestet; pdflatex muss sich im Verzeichnis /usr/texbin befinden).
Monday, April 02, 2007
cb2bib 0.8.1 universal binary installer for MacOSX 10.4
An universal binary installer for cb2bib 0.8.1 can be downloaded from the Qt4.x-software section on the ATG website. cb2Bib - is a tool for rapidly extracting unformatted biblographic references from email alerts, journal Web pages, and PDF files. The cb2Bib is intended to be used by scientists and students. It facilitates catching single references at the time of being announced. The references are formatted as BibTeX standard. Applications like Bibdesk, Pybliographer, or OpenOffice can later retrieve, import, use, or display these BibTeX references.
Universal Binary Installationspaket für cb2bib 0.8.1
Auf der Qt4.x-Softwareseite von ATG findet sich ein entsprechendes Installationspaket zum Herunterladen. cb2Bib ist ein Programm mit dem sich sehr schnell unformatierte bibliografische Referenzen aus E-Mails, dem W³-Angebot von Zeitschriften, oder PDF-Dateien extrahieren lassen. cb2Bib richtet sich an Wissenschaftler oder Studenten. Es erleichtert das Erfassen einzelner Publikationsreferenzen im Moment ihres Erscheinens. Referenzen werden gemäß dem BibTeX-Standard erfasst und gespeichert.
Tuesday, March 27, 2007
QtiPlot 0.89 for Macs with Intel processor(s)
A binary installer of the qtiplot 0.89 (includes Qt 3.3.7-, qwt 0.5.1-, qwt3dplot 0.2.6-, gsl1.7-, pyQt 3.1.7 & sip 4.5.2) packed for Macs with Intel processor(s) is available from the Qt3.3.x-software section on the ATG website. You need an additional installation of Python 2.5 on your computer to use it!
QtiPlot is a graphing and analysis software for scientists and engineers. Some of its features: 2D and 3D data plotting, ASCII-, Origin™-Import, powerful and versatile spreadsheets and calculations in column-logic, non-linear y=f(x) curve fitting and estimation of statistical errors of the fit-parameters.
QtiPlot 0.89 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes Installationspaket von QtiPlot 0.89 (enthält Qt 3.3.7-, qwt 0.5.1-, qwt3dplot 0.2.6-, gsl1.7-, pyQt 3.1.7 & sip 4.5.2) steht auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software) - eine Python 2.5-Installation wird zusätzlich benötigt.
QtiPlot ist ein Programm für Wissenschaftler und Ingenieure zur Datenanalyse und Darstellung. Einige Eigenschaften sind: Darstelllung von Datensätzen in 2D und 3D, ASCII-, Origin™-Datei-Import, integrierte Tabellenkalkulation mit vielfältigen Funktionen, nicht-lineares y=f(x) Fitting von Daten.
Sunday, March 25, 2007
Qt 4.2.3 Open Source Edition installer packages for MacOSX 10.4 (or higher)
Installer packages of the full Qt 4.2.3 Open Source Edition (universal binary for use with PowerPC- and Intel-based Macs) are available from the Incubator-section on the ATG website. You can find one installer build as a set of standard libraries, or one installer which includes Qt4 as a set of frameworks. Both installers include sources, full documentation, Designer, Linguist, etc.…
Qt 4.2.3 Open Source Edition Installationspakete für MacOSX
Auf der ATG Incubator-Seite stehen Installationspakete für Qt 4.2.3 als universal binary fur Macs mit PowerPC- oder Intel-Prozessor zur Verfügung (entweder als "Standard"-Bibliotheken, oder als Framework compiliert).
Saturday, March 24, 2007
molsKetch 0.1 hydrogen for Intel-Macs
A binary installer of molsKetch 0.1 Hydrogene for Macs with Intel processor(s) is available from the Incubator-section of the ATG website. molsKetch is a 2D molecular structures drawing program based on Qt4. It has several functions helping you to draw a consistant structure quickly and easily. After you've finished your molecule, you can save it in all the formats supported by OpenBabel or export it as picture for further use in other documents. Regular used molecules can be saved in the built-in library for further use. The installer package includes OpenBabel 2.0 and all required Qt4.2.3-libraries.
molsKetch 0.1 hydrogen für Intel-Macs
Auf der Incubator-Softwareseite von ATG findet sich ein molsKetch 0.1 Hydrogene-Installationspaket zum Herunterladen. molsKetch ist ein Zeichenprogramm fur zweidimensionale chemische Strukturformeln. Das Paket enthält alle benötigten Qt4.2.3- und Openbabel 2.0-Biobliotheken.
cb2bib 0.8 universal binary for MacOSX
An universal binary installer for cb2bib 0.8 can be downloaded from the Qt4.x-software section on the ATG website. cb2Bib - is a tool for rapidly extracting unformatted biblographic references from email alerts, journal Web pages, and PDF files. The cb2Bib is intended to be used by scientists and students. It facilitates catching single references at the time of being announced. The references are formatted as BibTeX standard. Applications like Bibdesk, Pybliographer, or OpenOffice can later retrieve, import, use, or display these BibTeX references.
Universal Binary Installationspaket für cb2bib 0.8
Auf der Qt4.x-Softwareseite von ATG findet sich ein entsprechendes Installationspaket zum Herunterladen. cb2Bib ist ein Programm mit dem sich sehr schnell unformatierte bibliografische Referenzen aus E-Mails, dem W³-Angebot von Zeitschriften, oder PDF-Dateien extrahieren lassen. cb2Bib richtet sich an Wissenschaftler oder Studenten. Es erleichtert das Erfassen einzelner Publikationsreferenzen im Moment ihres Erscheinens. Referenzen werden gemäß dem BibTeX-Standard erfasst und gespeichert.
qucs 0.0.11 incl. freeHDL 0.0.3 and ASCO 0.4.5 for Intel- or PowerPC-Macs
Separate binary installers of the qucs 0.0.11 including freeHDL 0.0.3 and ASCO 0.4.5 packed for Macs with Intel OR PowerPC processor(s) ARE available from the Qt3.3.x-software section on the ATG website. Qucs - briefly for Quite Universal Circuit Simulator, is a circuit simulator with graphical user interface. The software aims to support all kinds of circuit simulation types, e.g. DC, AC, S-parameter, harmonic balance analysis etc. For people who are familiar which such simulators they should remember ADS© from Agilent Technologies©, Microwave Office© from AWR© and all the other simulators.
Qucs 0.0.11 inkl. freeHDL 0.0.3 für Macs mit Intel- ODER PowerPC-Prozessor(en)
Separate Installationspakete für Macs mit Intel- ODER PowerPC-Prozessor(en) des qucs 0.0.11 inklusive freeHDL 0.0.3 und ASCO 0.4.5 stehen auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software). Qucs - der Quite Universal Circuit Simulator (abgekürzt Qucs) ist/wird ein Simulationsprogramm für Schaltungen. Über eine grafische Benutzeroberfläche lassen sich alle Arten von Schaltungen (DC, AC, S-Parameter, etc.) simulieren und analysieren.
Wednesday, March 21, 2007
Engauge/Digitizer 4.0 for Intel Installer fix
A problem with the Engauge/Digitizer 4.0 for Macs with Intel-Processor(s) slipped trough my testing but was kindly reported by Adam Dershowitz. The included and required FFTW3-library can't apparently be included to the application itself using the "install_name_tool", so I had to change it's installation to /usr/local/lib. I'm sorry for the inconvenience this might caused for these who downloaded the package. You don't have to necessarily download the installer again: if you use the finder "Show Package Contents"- command on the digitizer application you'll find the fftw3.3.dylib within digitizer.app/Contents/Frameworks. Please copy it to /usr/local/lib. Now engauge/digitizer should startup and work without problem.
Fehlerbeseitigung: Engauge 4.0 für Macs mit Intel-Prozessor(en)
Bedauerlicherweise hatte sich ein Fehler in das Engauge/Digitizer 4.0-Installationspaket für Macs mit Intel-Prozessor(en) eingeschlichen, den freundlicherweise Adam Dershowitz schnell gefunden hat. Scheins lässt sich die benötigte Funktionsbibliothek fftw3.3.dylib nicht mittels the "install_name_tool"-Kommando an einem beliebigen Installationort *hier innerhalb des Programpaketes* zuweisen - daher wird diese Bibliothek bei Verwendung des modifizierten Installationspaketes auf ATG nun mehr im Verzeichnis /usr/local/lib installiert - man zeihe mir bitte den Fehler.
error: 'errno' undeclared
when trying to compile some *nix-based sources you might encounter the the compiler stops and throws an error similar to this:
error: 'errno' undeclared
Solution is to include
#include <errno.h>
to the header section of the affected source file(s).
Edited on: Wednesday, March 21, 2007 12:17 PM
Categories: healty from*nix to MacOSX
Monday, March 19, 2007
Engauge 4.0 for Macs with Intel processor(s)
A binary installer of engauge/digitizer 4.0 packed for Macs with Intel processor(s) is available from the Qt3.3.x-software section on the ATG website. Engauge is a free tool which converts an image file showing a graph or map, into numbers. The image file can come from a scanner, digital camera or screenshot. The numbers can be read on the screen, and saved or copied to a spreadsheet or other applications.
Engauge 4.0 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes Engauge 4.0-Installationspaket steht auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software). Engauge/Digitizer ist ein frei verfügbares Programm mit dem sich Bilder, die beispielsweise Datengraphen zeigen, oder Karten in Zahlen, d.h. digitalisieren lassen. Die entsprechenden Bildvorlagen kann dabei ein Scanner, eine Digitalkamera oder ein Bildschirmphoto liefern. Nach der Konvertierung lassen sie die Daten dann in anderen Programmen, wie zum Beispiel einer Tabellenkalkulation, weiterverarbeiten.
statist 1.4.1 universal binary for MacOSX
An installerpackages of statist 1.4.1 (universal binary for use with PowerPC- and Intel-based Macs) is available from the Incubator-section on the ATG website. statist is a shell-based statistic program which uses gnuplot for graphical output (an additional installation of Aquaterm for native MacOSX graphic display is required).
statist 1.4.1 (universal binary) Installationspaket für MacOSX
Auf der ATG Incubator-Seite steht ein Installationspaket für statist 1.4.1 als universal binary fur Macs mit PowerPC- oder Intel-Prozessor zur Verfügung. statist ist ein kleines Shell-basiertes Statistikprogramm, das gnuplot zur Grafikausgabe nutzt.
compiler&linker flags from shell for universal binary
okay, just as a reminder for myself - this is the compiler flag:
CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
and here comes the linker flag:
LDFLAGS="-arch i386 -arch ppc"
to use if compilation of stdIO-progs via shell is intended.
Edited on: Monday, March 19, 2007 8:22 PM
Categories: healty from*nix to MacOSX
pstplus 1.1 universal binary
An universal binary installer for pstplus 1.1 can be downloaded from the Qt4.x-software section on the ATG website. pstplus is an assistant program which facilitates the creation of LaTeX/PsTricks figures. Currently the graphical user interface of the program is available in french only, so translators are higly welcome!
Universal Binary Installationspaket für pstplus 1.1.0
Auf der Qt4.x-Softwareseite von ATG findet sich ein entsprechendes Installationspaket zum Herunterladen. PSTPlus ist ein Hilfsprogramm, das das Erstellen von LaTeX/PSTricks-Grafiken erheblich vereinfacht. Momentan steht nur eine französische Programmoberflache zur Verfügung - Übersetzer sind also herzlichst willkommen.
texwiz 2.0.0 universal binary
An universal binary installer for texwiz 2.0.0 can be downloaded from the Qt4.x-software section on the ATG website. TeXwiz - is a document creation wizard for LaTeX documents that supports many of the extremely useful features provided by KOMA script. The program allows the user to set most of the options that have to be set in a majority of all documents and produces LaTeX code which is in compliance with e.g. the KOMA script documentation.
Universal Binary Installationspaket für texwiz 2.0.0
Auf der Qt4.x-Softwareseite von ATG findet sich ein entsprechendes Installationspaket zum Herunterladen. TeXwiz - ist ein Assistent, der das Erstellen von LaTeX-Dokumenten erleichtert. Das Programm unterstützt dabei zahlreiche Eigenschaften des KOMA-Skript-Paketes.
RLPlot 1.3 for Macs with Intel processor(s)
A binary installer of RLPlot 1.3 packed for Macs with Intel processor(s) is available from the Qt3.3.x-software section on the ATG website. RLPlot is a WYSIWYG-plotting and layout program ("what you see, is what you get") for high quality graphs from data via a spreadsheet GUI. Only EPS-export is working reliable - for other export-formats as well as for direct printing there a several glitches (you can call them bugs). I partly informed the developer, but if you encounter any problem please report oddities and bugs via http://rlplot.sf.net
RLPlot 1.3 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes RLPlot 1.3-Installationspaket steht auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software). RLPlot - ist ein Programm zum Erstellen und Layouten von hochwertiger Datengrafiken mit einer an eine Tabellenkalkulation angelehnte Oberfläche. Nur der EPS-Export funktioniert reibngslos unter MacOSX - bei der Verwendung anderer Exportformate, oder auch bei der direkten Druckausgabe treten diverse Probeme auf - der Entwickler ist informiert. Falls Sie irgendwelche Probleme oder Eigenarten entdecken, berichten Sie diese doch bitte via http://rlplot.sf.net.
qucs 0.0.11 including freeHDL 0.0.3 for Intel-Macs
A binary installerof the qucs 0.0.11 including freeHDL 0.0.3 packed for Macs with Intel processor(s) is available from the Qt3.3.x-software section on the ATG website. Qucs - briefly for Quite Universal Circuit Simulator, is a circuit simulator with graphical user interface. The software aims to support all kinds of circuit simulation types, e.g. DC, AC, S parameter, harmonic balance analysis etc. For people who are familiar which such simulators they should remember ADS© from Agilent Technologies©, Microwave Office© from AWR© and all the other simulators.
Qucs 0.0.11 inkl. freeHDL 0.0.3 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes Installationspaket des qucs 0.0.11 inklusive freeHDL 0.0.3 steht auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software). Qucs - der Quite Universal Circuit Simulator (abgekürzt Qucs) ist/wird ein Simulationsprogram für Schaltungen. Über eine grafische Benutzeroberfläche lassen sich alle Arten von Schaltungen (DC, AC, S, etc.) simulieren und analysieren.
Tuesday, February 06, 2007
cb2bib 0.7.2 universal binary
An universal binary installer for cb2bib 0.7.2 can be downloaded from the Qt4.x-software section on the ATG website. cb2Bib - is a tool for rapidly extracting unformatted biblographic references from email alerts, journal Web pages, and PDF files. The cb2Bib is intended to be used by scientists and students. It facilitates catching single references at the time of being announced. The references are formatted as BibTeX standard. Applications like Bibdesk, Pybliographer, or OpenOffice can later retrieve, import, use, or display these BibTeX references.
Universal Binary Installationspaket für cb2bib 0.7.2
Auf der Qt4.x-Softwareseite von ATG findet sich ein entsprechendes Installationspaket zum Herunterladen. cb2Bib ist ein Programm mit dem sich sehr schnell unformatierte bibliografische Referenzen aus E-Mails, dem W³-Angebot von Zeitschriften, oder PDF-Dateien extrahieren lassen. cb2Bib richtet sich an Wissenschaftler oder Studenten. Es erleichtert das Erfassen einzelner Publikationsreferenzen im Moment ihres Erscheinens. Referenzen werden gemäß dem BibTeX-Standard erfasst und gespeichert.
gnuplot 4.2 binary installer packages for MacOSX
Binary installerpackages of gnuplot 4.2 are available from the Incubator-section on the ATG website. For Macs with PowerPC processor(s) you can download an installer package of gnuplot 4.2rc1; for Macs with Intel-processor(s) a gnuplot 4.2rc4 installer is available.
These packages are compiled WITHOUT X11-graphic support and need an additional installaiton of Aquaterm for native MacOSX graphic display.
Gnuplot 4.2 Installationspakete für MacOSX
Auf der ATG Incubator-Seite stehen Installationspakete für gnuplot 4.2 zur Verfugung. Für Macs mit PowerPC-Prozessor(en) steht eine Installaiton von gnuplot 4.2rc1, für Macs mit Intel-Prozessor(en) von gnuplot 4.2rc4 zur Verfügung.
Beide Pakete bieten keine X11-Grafikunterstützung. Zur PDF-basierten Grafikanzeige muss zusätzlich noch Aquaterm installiert sein.
Monday, February 05, 2007
"it's *still* alive" - some updates
well, so after "fixing" the blog, updating the links list, and-whatever-else, there are some more software updates or new installers coming in the future. If you like to be informed via RSS please update the ATG-link in your news feed reader or browser.
"alles neu macht der… Äh, Februar."
Nachdem ich nun *endlich* die Blog-software gewechselt habe - Thingamablog erlaubt ein sehr simples Transportieren und Bearbeiten auf unterschiedlichen Rechnern -, einigen Änderungen "im Hintergrund", Überarbeiten und Ändern der Link-Seite, und was-auch-immer-noch - gibt es also einige Software Updates und mutmasslich in der nahen Zukunft auch neue Installationspakete. Das alte Blog ist "geparkt" - um über Änderungen via RSS informiert zu werden, sei es empfohlen, den neuen RSS-feed zu abonieren *und man verzeihe mir den english-speak. Weiss jemand eine gute Übersetzung?*
Social Network Visualiser (SNV) 0.43.1 for Intel-based Macs
A binary installerof the SNV 0.43.1 packed for Macs with Intel processor(s) is available from the Qt3.3.x-software section on the ATG website. Social Network Visualiser is a GPL program designed to allow people draw, visualise and layout social networks. SNV can read and write various network file formats, such as PAJEK, sociomatrix and dot. It enables the user to visually modify an existing network or draw a new network using the mouse. Network and actor properties, such as distances, centralities, diameter etc, can be easily computed. Also, SNV can create random networks given a link probability.
Social Network Visualiser (SNV) 0.43.1 für Macs mit Intel-Prozessor(en)
Ein für Macs mit Intel-Prozessor(en) erstelltes Installationspaket des Social Network Visualisers Version 0.43.1 steht auf der ATG Webseite zur Verfügung (unter Qt3.3.x basierte Software). SNV ist ein unter GPL verfügbares Programm zum Zeichnen, visualisieren und Layouten von sozialen Netzwerken. SNV kann eine Reihe unterschiedlicher Netzwerkformate, wie beispielsweise PAJEK, sociomatrix oder dot, lesen und schreiben.
Access to the old ATG-weblog
for sentimental reasons the old ATG weblog is still available and can be accessed via this link.
Zugang zum "alten" ATG-Weblog
aus sentimentalen Gründen kann auf das "alte" ATG-Weblog (bis Dezember 2006) via diesem Link zugegriffen werden.
Edited on: Monday, February 05, 2007 5:23 PM
Categories: old ATG-weblog (-2006)
Friday, January 26, 2007
Visual Guide IV - Measuring cells with ImageJ
A first "visual" guide, in this case, related to image processing is available from the blog at the ATG-website . Currently available in english, it gives some - very basic - directions on how to define regions of interest (ROI) in images from neurons (well, basically this works with any image) using ImageJ . This guide is far from complete, and surely there are much more sophisticated methods which can be applied in image processing. If you have ideas, comments, correction and/or extension, or if you have written some other directions or instructions which might be of interest to a broader audience, and which you like to provide access to via the ATG website, please contact me . Or please use the provided comment-function in the blog, to file a existing weblink.
Get the "Visual Guide IV: Measuring cells with ImageJ" here (PDF, 1.7Mb).
Visual Guide IV - Zellananalyse mit Image J
Eine erste, "visuelle Anleitung", in diesem Falle zur Bildbearbeitung mit ImageJ findet sich im Blog der ATG-Webseite . Zur Zeit nur in englischer Sprache, gibt sie einige Anleitungen, wie sich relativ komfortabel Bildbereiche in mikroskopischen Aufnahmen mittels ImageJ definieren und auswerten lassen. Diese Anleitung ist keinesfalls vollständig, und es gibt sicherlich ein Füllhorn weiterer, weitaus komplexerer Methoden die sich anwenden ließen. Falls jemand dazu Ideen, Kommentare, Korrekturen, Ergänzungen, oder aber auch andere Anleitungen besitzt, die er/sie geschrieben hat (und die via ATG-Webseite einem breiterem Publikum zugänglich gemacht werden dürfen) - kontaktiere man mich bitte. Eventuell kennen Sie ja auch weitere, zu diesem Thema passende, Dokumente im Internet - nutzen Sie doch bitte die Kommentarfunktion zu diesem Blog-Eintrag, um die entsprechenden Links dort abzulegen.
Falls Interesse an einer deutschsprachigen Version besteht, kontaktiere man mich bitte (eventuell möchte ja auch jemand dazu beitragen?).
Die PDF-Datei des "Visual Guide IV: Measuring cells with ImageJ" kann hier heruntergeladen werden (1.7Mb).
Edited on: Friday, January 26, 2007 7:07 PM
Categories: tutorials,manuals & other content
XDrawChem & working EPS-export
As a side effect of the solution for Ipe 6 to use LaTEX without the need to start the program from the shell - this solution immediately solves the similiar EPS-export problem of XDrawChem under MacOSX. If you already did the described procedure to work more comfortable with Ipe 6, you can stop reading here.
If you don´t use Ipe & LateX, but like to export to EPS from XDrawChem - read further:
To allow XDrawChem to export to EPS, the PATH-entry in the file ~/.MacOSX/environment.plist should look similiar to the following (the ~ (tilde) represents the home directory of the user, you):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin</string>
</dict>
</plist>
I´m sorry for the small font size - it´s because I wanted to show the content without line breaks. If ~/.MacOSX/environment.plist already exists, extend the PATH key with reference to the Apple supplied ghoscript-installation on your system. If ~/.MacOSX/environment.plist do not exist, copy the lines shown before (everything which is set in 6 pt using Courier) into your favorite Texteditor, and save it into ~/.MacOSX/environment.plist (ASCII-format). If somebody knows how to create a script which checks wether ~/.MacOSX/environment.plist and/or the correct PATH key already exists, AND knows how to extend an installer package so it uses this script, PLEASE share your knowledge and let me know. The changes will take only effect, when you relogin as a user (or better just restart your computer once).
One more thing: while the export in XDrawChem says that you save to EPS, MacOSX directly converts the file to PDF. As a result you should use the extension ".pdf" in the EPS-export dialogue of XDrawChem (otherwise Preview gets confused and tries to convert the file to PDF while opening it).
XDrawChem & komfortabler EPS-Export
Als Nebeneffekt des komfortableren Nutzen von LateX in Ipe6 unter MacOSX, hat sich auch das EPS-Export-Problem aus XDrawChem heraus, erledigt. *Hah!* Falls Sie die im vorherigen Eintrag dieses Blogs beschriebene Prozedur zur Nutzung von Ipe6 und LateX schon durchgeführt haben, lohnt es sich nicht hier weiter zu lesen. Nutzen sie Ipe6 NICHT, wollen allerdings "mac-typisch" Zeichnungen, die Sie in XDrawChem erstellt haben, auch im EPS-Format exportieren (und mussten dazu bisher XDrawChem aus einer Shell heraus starten), lesen sie hier weiter:
Damit XDrawChem ohne Start aus einer Shell heraus, Zeichnungen im EPS-Format sichert, muß die Pfad-Variable (PATH) in der Datei ~/.MacOSX/environment.plist im einfachsten Falle folgendermaßen zugewiesen werden:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin</string>
</dict>
</plist>
Man verzeihe mir bitte die kleine Schriftgröße, aber anders war eine korrekte Darstellung der Gesamtzeilen nicht möglich. Falls environment.plist im eigenen Benutzerverzeichnis (die Tilde ~ repräsentiert dieses Verzeichnis) noch nicht existiert, kann man die obigen Zeilen einfach in den Texteditor der Wahl kopieren, und in einer ASCII-Datei unter ~/.MacOSX/environment.plist speichern. Existiert ~/.MacOSX/environment.plist schon, braucht man die Pfad-Zuweisung nur bezüglich der eigenen TeX-Installation, wie dargestellt, erweitern. Falls jemand weiß, wie man eine entsprechendes Skript, das den Inhalt von ~/.MacOSX/environment.plist überprüft, und gegebenenfalls erweitert, und vor allem: wie man das dann in ein Installationspaket einbettet - es wäre grandios, wenn ich an diesem Wissen teilhaben dürfte.
Noch eine Anmerkung: Während man im Dialog von XDrawChem "EPS" als Ausgabeformat auswählt, konvertiert MacOSX 10.3 die Ausgabedatei direkt in das PDF-Format. Es bietet sich daher an, direkt die Dateiendung ".pdf" in XDrawChem beim Sichern zu Verwenden - andernfalls versucht beispielsweise Apple's Vorschau beim Öffnen der Datei, diese ins PDF-Format zu konvertieren (was zum berühmt-berüchtigten "spinning beachball" führt).
Edited on: Friday, January 26, 2007 7:01 PM
Categories: MacOSX - the daily life
Terminal: Formatting an external hard disk for usage with Mac & PC
The easiest solution is of course to format an external harddrive in FAT32 - MacOSX supports this filesystem upto 128 GByte (!). Disadvantage: write speed and resource fork handling gives one or the other "headache".
To format e.g. a 60Gb external harddrive with 2 partitions (30Gb FAT32, 30Gb HFS+) for cross-platform use via the command line:
diskutil partitionDisk NameOFYourExternalHardDisk 2 MBRFormat MS-DOS PC-DriveNameYouWant 30G HFS+ Mac-DriveNameyouWant 30G
to get the name of your external hard drive type once BEFORE you connect the drive to your Mac:
ls -al /dev/rdisk?
repeat the comand after the external hard drive is connected. The new line in the output for the second call of the command gives you the external hard disk name.
Terminal: Formatieren einer externen Festplatte zur Nutzung mit PC und Mac
Die einfachste Möglichkeit besteht darin, die externe Festplatte im FAT32-Filesystem zu formatieren - MacOSX unterstützt in diesem Falle Plattengrößen bis 128 GByte (!). Eventuelle Nachteile: Schreibgeschwindigkeit unter MacOSX und mögliche Probleme mit der Resourcefork von Dateien.
Um beispielsweise eine externe 60GByte-Festplatte zwecks plattformübergreifender Nutzung in 2 Partionen (30Gb FAT32, 30Gb HFS+) einzuteilen, läßt sich folgende Befehlssequenz im Terminal *Apple's Bezeichner für eine Shell* benutzen:
diskutil partitionDisk NameDerExternenFestplatte 2 MBRFormat MS-DOS GewünschterPC-FestplattenName 30G HFS+ GewünschterMac-FestplattenName 30G
Um den benötigten, vom MacOSX vergebenen Bezeichner NameDerExternenFestplatte zu ermitteln, gibt man VOR und NACH dem Anstecken der externen Platte via USB oder FireWire
ls -al /dev/rdisk?
im Terminal ein. Die beim zweiten Aufruf in der Ausgabe im Shellfenster hinzugekommene Zeile enthält die Informationen über das externe Laufwerk.
Edited on: Friday, January 26, 2007 7:03 PM
Categories: MacOSX - the daily life
Error handling: "help! the program does not start…" OR "the program starts up, but immediately quits…"
When clicking a program icon under MacOSX, the icon appears shortly in the dock, but the program quits *more or less* immediately. Other scenario: a running program quits suddenly without any notification.
While there is no general solution to this, the first check should be to open the console application (in /Applications/Utilities). Here you have access to the different log files which are tracked by the MacOSX (click on the Logs-symbol in the title bar). In ~/Library/Logs you find for example CrashReporter which reports in its logs the problems related to specific applications which crashed *under whatever condition: startup, etc.* A more or less common problem with applications which have a *nix origin, is that sometimes accidently some required libraries might be missing, installed in the wrong path, etc. In case of a missing library the CrashReport-log of a specific application show some entry like:
Link (dyld) error:
dyld: /Volumes/hydrogen/hydrogen.app/Contents/MacOS/hydrogen can't open library: /usr/local/lib/libjack.0.dylib (No such file or directory, errno = 2)
In this example the application hydrogen does not find the required library libjack.dylib in the expected folder /usr/local/lib. Starting from here it might be relatively easy to fullfill the requirements, by installing the missing lib or extending the library path in which the system is looking for dynamically linked/loaded libraries.
Fehlersuche: "Hilfe! Das Programm startet nicht…" ODER "das Programm startet, beendet sich aber sofort wieder…"
Mitunter passiert es, daß ein Programm sich, nachdem man es durch Anklicken des Programmesymboles gestartet hat, mehr oder minder sofort beendet. Ein anderes Szenario: das Programm, in dem man just arbeitet, beendet sich plötzlich.
Leider hat es in solchen oder ähnlichen Fällen keine allgemeine Lösung. Einen hilfreichen, ersten Anlaufpunkt beim Aufspüren der Ursache bietet Apple's Console-Programm (/Programme/Dienstprogramme/Console). Es ermöglicht das Lesen der verschiedensten Log-Dateien, die von MacOSX aufgezeichnet werden. Ein Klick auf das Logs-Symbol in der Titelleiste öffnet eine Listenansicht, in der die verschiedenen Dateien angezeigt werden. Unter ~/Library/Logs findet sich der Eintrag CrashReporter, in dem Vorgänge rund um Programme, die vom aktuell angemeldeneten Benutzer gestartet oder genutzt wurden, und die sich unerwartet beendeten, aufgezeichnet werden. Ein häufiges Problem bei Programmen, die ursprünglich für ein *nix-System entwickelt wurden, ist, daß beim Zusammenstellen eines Installationspaketes, vom Programm zwingend benötigte Funktionsbibliotheken vergessen wurden, im "falschen" Verzeichnis installiert werden, etc. . Im CrashReporter-Log für das jeweilige Programm, findet sich dann ein ähnlicher Eintrag, wie der Folgende:
Link (dyld) error:
dyld: /Volumes/hydrogen/hydrogen.app/Contents/MacOS/hydrogen can't open library: /usr/local/lib/libjack.0.dylib (No such file or directory, errno = 2)
In diesem Beispiel findet das Programm hydrogen die Bibliothek libjack.dylib nicht im Verzeichnis /usr/local/lib. Mit dieser Information ist es eventuell recht einfach, die benötigten Abhängigkeiten des hier als Beispiel verwendeten Programmes hydrogen zu erfüllen, in dem man die fehlende Bibliothek nachinstalliert, oder aber, falls sich die Bibliothek nur in einem anderem Verzeichnis befindet, den Pfad, in dem das MacOSX nach Bibliotheken sucht, entsprechend erweitert .
Edited on: Friday, January 26, 2007 7:04 PM
Categories: MacOSX - the daily life
Terminal: Creating disk images under MacOSX, which can be burned on CD/DVD under Windows
Due to the different options for creating a diskimage (compression, cryption, file system), the easiest solution is to convert an existing disk image under MacOSX to ISO-format. Using the terminal comand
hdituil convert input.dmg -format UDTO -o output.iso
the disk image input.dmg (which was created with whatever options under MacOSX) is converted into the ISO-image output.iso.cdr, which can be burned to CD/DVD under Windows. If you like to mount and use this diskimage under Windows - for disk images with the filesystem HFS you need a special tool like MacDisk.
Terminal: Das Erzeugen von Disk-Images unter MacOSX, die unter Windows auf CD oder DVD gebrannt werden sollen
Aufgrund der unterschiedlichen Einstellungen (bezüglich Kompression, Verschlüsselung, Dateisystem) mit denen Disk-Images unter MacOSX erstellt werden können, bietet sich eine Konvertierung in ein ISO-Image an. Die Eingabe von
hdituil convert VorhandenesMacOSXDiskImage.dmg -format UDTO -o UnterWindowsNutzbaresDiskImage.iso
im Terminal, konvertiert ein beliebiges unter MacOSX erstelltes Disk-Image VorhandenesMacOSXDiskImage.dmg in die Datei UnterWindowsNutzbaresDiskImage.iso.cdr. Diese Datei läßt sich unter Windows wie jedes ISO-Image benutzen und auf CD oder DVD brennen. Falls Sie ein solches Image unter Windows mounten und nutzen wollen: wird auf dem Image das Dateisystem HFS benutzt, wird zum Lesen ein weiteres Programm wie beispielsweise MacDisk benötigt.
Edited on: Friday, January 26, 2007 7:03 PM
Categories: MacOSX - the daily life
E-Mailing: using GMail for sending mails
If you encounter problems sending mails via Google's free mail service from your MacOSX machine, please check that your firewall allows data packets to pass on port 587 (outgoing mail) and 995 (incoming mail).
Die Freuden elektronischer Kommunikation: Versenden von E-Mails via GMail
Falls Sie Probleme beim Versenden von Nachrichten via Google's kostenlosem E-Mail-Dienstes haben: überprüfen Sie, ob Ihre Firewall Datenpakete auf den Ports 587 (für ausgehende E-Mails) und 995 (für eingehende E-Mails) passieren läßt.
Deactivating the DashBoard under MacOSX 10.4
If you don´t use the dashboard you might like to deactivate it permanently on your computer. Open a terminal/shell and type the following comand:
defaults write com.apple.dashboard mcx-disabled -boolean YES
to reactivate use NO as boolean expression.
Abschalten des DashBoards unter MacOSX 10.4
falls Sie das DashBoard unter MacOSX 10.4 nicht benutzen, können Sie es über die Eingabe der folgenden Befehlssequenz im Terminal permanent abschalten:
defaults write com.apple.dashboard mcx-disabled -boolean YES
Um das DashBoard erneut zu aktivieren, ersetzen Sie bitteim boolschen Ausdruck YES durch NO
Edited on: Friday, January 26, 2007 7:05 PM
Categories: MacOSX - the daily life
MacOSX 10.4.x "nothing to install"-error
This is a really, really strenuous one… well, when making an installer with Apple's PackageMaker it might be possible, that on some MacOSX 10.4.x systems the installer later during installation reports a "nothing to install"-error (the same installer will run fine under MacOSX 10.3.x).
There is a thread about this at the Apple Developer Connection .
The reason for this error message is that Packagemaker and the Apple`s installer application honour CFBundleVersion under MacOSX. The installer is checking the files in /Library/Receipts - if a receipt with the same CFBundleVersion is encountered (like for example from a previous installation of the program), the installer stops displaying the (in)famous "nothing to install"-error message.
The possible "fix" for the developer seems to be to make sure, that a unique CFBundleVersion entry for the installer in PackageMaker, most expedient exactly like the version string of the app in Info.plist inside the application bundle, is set.
The possible fix for the user is to delete the receipts of any older version of the application to install, from /Library/Receipts. After that the installer should install the files without throwing an error.
(WCS: If the problem with an installer persists, one can open the installer bundle and dearchive the included file Archive.pax.(tgz) and manually install the included files (The problem here is that the complexity of this is highly depending on the structure and kind of the installation).)
Nota bene: it's difficult to tax this behaviour - the experience is definitively "bug"-like. After all, the installer is technically behaving correctly, but Apple's shouldn't have set such confined "STOP & let's throw an error"-behaviour in favor of a simple notification and the option to overwrite. Searching the web shows that even Apple's own program installers have this problem on some MacOSX 10.4.x systems, so I think one can call this a real bug (it's still unclear to me, whether this originates from PackageMaker or the Installer app).
MacOSX 10.4.x "nothing to install"-Fehler
Der ist in der Tat ziemlich "anstrengend"… wenn man ein Installationspaket mit Apple's PackageMaker erstellt, ist es möglich, daß der erstellte Installer unter MacOSX 10.4.x mit der Fehlermeldung "nothing to install" die Installation abbricht. Der gleiche Installer funktioniert dabei problemlos unter MacOSX 10.3.x.
Zum Thema gibt es einen Thread in einer der Diskussionslisten der Apple Developer Connection .
Der Fehler ist durch den Umstand bedingt, das der Installer (und auch PackageMaker) unter MacOSX 10.4.x das CFBundleVersion-Flag berücksichtigen. Bei der Installation überprüft der Installer die Dateien in /Library/Receipts - wenn ein Receipt mit gleichem CFBundleVersion-Eintrag gefunden wird (beispielsweise von der Installation einer früheren Installation des Programmes), bricht die Installation ab und die "nothing to install"-Fehlernachricht wird angezeigt.
Für Entwickler besteht die mögliche "Lösung" darin, einen eindeutigen CFBundleVersion-Eintrag beim Erstellen des Installationspaketes in PackageMaker vorzunehmen - zweckmäßigerweise indentisch zum Versionseintrag in Info.plist innerhalb des Applikatikionbundles des zu installierenden Programmes.
Für Anwender besteht eine "Lösung" darin, die Receipts des zu installierenden Programmes in /Library/Receipts zu löschen. Anschließend sollte die Installation mittels Apple's Installer problemlos funktionieren.
(GAP: Falls das Installationsprobblem weiter besteht, kann man sich als Anwender immer noch den Inhalt des Installationspaketes im Finder anzeigen lassen. Die enthaltene Datei Archive.pax(.tgz) entpacken und die Dateien "manuell" installieren.)
Alles in allem "fühlt" sich das Ganze sehr "bug"-mäßig an. Technisch verhält sich das Installationsprogramm sicherlich korrekt - allein für gewöhnlich überwiegt unter MacOSX ja doch eher die "menschliche" und weniger die "technische" Benutzererfahrung. Apple sollte eventuell in Erwägung ziehen dieses "Alles Halt! & noch eine eher nicht hilfreiche Fehlermeldung"-Verhalten, durch die Möglichkeit einer Installation (man nenne es "Upgrade", Überschreiben, was auch immer), von mir aus unter Ausgabe einer Meldung alá "Heh da, Benutzer - was er da installieren möchte, scheint schon auf dem magnetischen Langzeitspeicher vorhanden zu sein. Will er wirklich, eingedenk seines unbedeutenden staubfüßlerischen Seins, in solch unbedacht Tun fortfahren?!??", ersetzen. Da ein kurzes goo(r)geln zeigt, daß auch Apple' Programm Installationspakete unter MacOSX 10.4.x auf einigen Systemen diese Auffälligkeit zeigen, kann man aber wohl schon berechtigt von einem "bug" sprechen.
Edited on: Friday, January 26, 2007 7:04 PM
Categories: MacOSX - the daily life
MacOSX 10.3.x & 10.4.x: repairing disk permission error: "no valid packages (-9997)"
Apple's Disk Utility needs the file BaseSystem.pkg inside the folder /Library/Receipts to execute a permission repair on the startup disk. If this file does not exist, an error message "no valid packages (-9997)" is displayed and no repair is possible. If you have access to another computer with the SAME MacOSX version you are using, the file can simply copied from one system to the other - after that the permission repair will work.
MacOSX 10.3.x & 10.4.x: Volume-Zugriffsrechte reparieren Fehlermeldung: "Keine gültigen Pakete (-9997)"
Apple's Festplatten Dienstprogramm benötigt die Datei BaseSystem.pkg im Verzeichnis /Library/Receipts um eine Reparatur der Volume-Zugriffsrechte durchzuführen. Fehlt diese Datei, wird die Fehlermeldung "Keine gültigen Pakete (-9997)" ausgegeben. Falls man Zugang zu einem anderen Computer mit der SELBEN MacOSX-version hat, kann man diese Datei einfach von einem Computer auf den anderen kopieren. Anschliessend sollte sich das Reparieren problemlos ausgeführen lassen.
Edited on: Friday, January 26, 2007 7:04 PM
Categories: MacOSX - the daily life
compiling errors related to strdupa
sometimes one might run into a strdupa related problem compiling a source code under MacOSX. One solution is to replace the function with strdup - for detailed explanations I copied the information from the Linux Programmer's Manual.
STRDUP(3) Linux Programmer's Manual STRDUP(3)
NAME
strdup, strndup, strdupa, strndupa - duplicate a string
SYNOPSIS
#include<string.h>
char*strdup(constchar*s);
#define_GNU_SOURCE
#include<string.h>
char*strndup(constchar*s,size_t n);
char*strdupa(constchar*s);
char*strndupa(constchar*s,size_t n);
DESCRIPTION
The strdup() function returns a pointer to a new string which is a duplicate of the string s. Memory for the new string is obtained with malloc(3), and can be freed with free(3).
The strndup() function is similar, but only copies at most n characters. If s is longer than n, only n characters are copied, and a terminating NUL is added.
strdupa and strndupa are similar, but use alloca(3) to allocate the buffer. They are only available when using the GNU GCC suite, and suffer from the same limitations described in alloca(3).
RETURNVALUE
The strdup() function returns a pointer to the duplicated string, or NULL if insufficient memory was available.
ERRORS
ENOMEM Insufficient memory available to allocate duplicate string.
CONFORMINGTO
SVID 3, BSD 4.3. strndup(), strdupa(), and strndupa() are GNU extensions.
OpenGL Headers & MacOSX
If you like to access OpenGL headers under MacOSX you can achieve this as described in the body of this blog entry:
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#include <GLUT/glut.h>
The linker commands have to be extended with
-framework OpenGL -framework Glut
If you are using XCode add the OpenGl.framework and/or the GLUT.framework to your project.
Apple preprocessor OR Gnu ?
Apparently sometimes it is a good idea to use the GNU preprocessor instead of Apple´s. In this case extend the compiler flags with:
-no-cpp-precomp
libtool: link: cannot find the library `' - error
A "typical" problem I encountered with libtool is that the error messages sometimes are not really helpful. For example:
libtool: link: cannot find the library `'
gives more headache than insight, doesn´t it? =;)
In this case one can make libtool be more verbose by editing the apropriate line *usually in the configure script* to
$echo "$modename: cannot find the library \`$lib' (lib${name}.la: $deplib)" 1>&2
Resulting error message becomes something like:
libtool: link: cannot find the library `' (whatever-library-is-missed: and-where-it-is-missed)
Missing "values.h"
On BSD based operating systems *like MacOSX* the header file "values.h" does not exist. Replacing the include file is one possible option to get legacy code compiled.
Most of the functionality of "values.h" seems to be incorporated in "floats.h" and "limits.h" under MacOSX (or other BSD based systems), so please use:
#include <limits.h>
#include <float.h>
Reminder: it looks like that not all constant defines from "values.h" are in these two files - in that case you might have to redefine the needed constant by yourself.
"malloc.h" not found
make might fail to compile some existing unix code if it not can find malloc.h.
Older software might expect to find malloc.h in /usr/include. Nowadays the norm (and for portability reasons) your program should include stdlib.h instead. GNU autoconf detects automatically wether the system needs to use malloc.h and defines a HAVE_MALLOC_H macro. If GNU autoconf is not used such case can be handled by:
#include <stdlib.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
Edited on: Friday, January 26, 2007 5:29 PM
Categories: healty from*nix to MacOSX
"configure: error: can not guess host type"
If you try to compile older *nix code which comes with a configure script, you might run into the (in)*famous* problem, that the system you are using, is unknown to the configure procedure.
If your configure run comes up with an error which reads like:
checking host system type... configure: error: can not guess host type; you must specify one
specify the System in a similar way to the following (this example includes the path assignments to Qt 3.x under MacOSX >= 10.3 too):
./configure --host=powerpc-apple-darwin7.7.0 --with-qt-dir=/Developer/qt --with-qt-includes=/Developer/qt/include --with-qt-libraries=/Developer/qt/lib
Another option is to specify a build type, e.g. in forms of:
./configure --build=powerpc-apple
compilation error: "strstream.h: No such file or directory"
While using the gcc 3.3 to compile older code one might run into an "strstream.h: No such file or directory"-error under MacOSX 10.3.x using gcc 3.3.
For compilation with gcc 3.3 replace #include <ststream.h> with:
#include "strstream"
using std::strstreambuf;
using std::istrstream;
using std::ostrstream;
using std::strstream;
"'uint32_t' undeclared"-error
If you run into an 'uint32_t' undeclared - error, simply replace uint32_t with u_int32_t
If you run into an 'uint32_t' undeclared - error, simply replace uint32_t with u_int32_t
"Undefined Symbols: _strtok_r"-error
The occurances of strok_r() have to be replaced with strtok() *this might get really boring*
for example:
token = strtok_r(NULL, " ", &whatever_is_given_here);
has to be changed to
token = strtok(NULL, " ");
QMAKESPEC for MacOSX
In principle it is a good idea to have the QMAKESPEC enviroment variable set to compile existing code.
Depending on what Development environment you use, set QMAKESPEC as follows (for tcsh).
- "vanilla" development use:
setenv QMAKESPEC macx-g++
- if you use Apple's XCode to design your projects, use:
setenv QMAKESPEC macx-pbuilder
Edited on: Friday, January 26, 2007 5:23 PM
Categories: healty from*nix to MacOSX, MacOSX - the daily life
Compiling Qt 4.x.x based universal binaries for MacOSX 10.4 or higher
Trolltech's Qt 4.x.x provides support for compiling universal binaries (using qmake or XCode). If you like to compile the Qt-framework (for example to get a debug version) add the following to your configure flags:
-universal -sdk /path/to/MacOSX10.4u.sdk
Based on the resulting build of the Qt4.x.x framework it is easy to compile any Qt4-based program as universal binary, just by adding the following to the corresponding .pro file:
QMAKE_MAC_SDK=/path/to/MacOSX10.4u.sdk
CONFIG+=x86 ppc
Using the file-command one can check wether the resulting build incoporates a PPC and x86 binary (meaning that the file size approx. doubles). If the program is just Qt4.1.x based, that's all you have to do. If your program uses additional external libraries (e.g. the JPEG library etc.), these must be of course compiled with native support for both platforms.
To compile your individual application append the following to the corresponding Makefile (please adjust the path to the 10.4-SDK according to your installation):
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
Compilation von Qt 4.x.x basierten Programmen unter MacOSX 10.4.x als "universal binaries"
Mit Version 4.x.x hat Trolltech das Erzeugen von "universal binaries" deutlich komfortabler gemacht. Zunächst gilt es das Qt4.1.x-Framework selbst in dieser Form zu compilieren. Dazu fügt man einfach zu den anderen benötigten configure-Flags Folgendes hinzu:
-universal -sdk /path/to/MacOSX10.4u.sdk
Auf Basis dieser "universellen" Qt4.x.x-Installation kann man anschliessend sehr einfach Qt4-Programme "zusammenbauen". Dazu fügt man im einfachsten Falle die folgenden Einträge der zugehörigen .pro-Datei hinzu:
QMAKE_MAC_SDK=/path/to/MacOSX10.4u.sdk
CONFIG+=x86 ppc
Mittels des file-Kommandos kann man anschliessend im Terminal überprüfen, ob das erzeugte Programm PPC- und x86-Version enthält. *was natürlich bedeutet, das sich die Dateigröße rund verdoppelt.* Bleibt noch daran zu denken, dass natürlich auch eventuell benötigte externe Funktionsbibliotheken (nehmen wir als Beispiel mal die JPEG-Bibliothek) entsprechend compiliert werden müßen, wenn man sich mit dem Gedanken trägt, ein "universelles" Installationspaket zusammen zu bauen. *eine meiner momentanen Freizeit-Grübeleien =8)*
Um eine individuelle Anwendung als "universal binary" zu kompilieren, ergänzt man die C- oder C++ Flags via Makefile folgendermaßen (die Pfadangabe zum 10.4-Developerkit muss natürlich entsprechend der eigenen Installation angepasst werden):
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
Edited on: Friday, January 26, 2007 7:05 PM
Categories: healty from*nix to MacOSX, MacOSX - the daily life
"dyld: lazy symbol binding failed: lazy pointer not found"-error
if one starts compiling programs *well, I heard that some call this "porting" =;)* to MacOSX it can happen for example under MacOSX 10.4.x that compilation finishes without any obvious problem, but when starting the compiled executable, the program quits, and the crashreporter log one can find an entry similar to:
dyld: lazy symbol binding failed: lazy pointer not found
dyld: lazy pointer not found
Trace/BPT trap
if this happend to you and your program/port, try recompiling using gcc version 3.x instead of gcc 4, which is the default for MacOSX 10.4.x (Apple provide the command line tool gcc_select for changing the default gcc version from the terminal). Well, after a make clean of course…
"dyld: lazy symbol binding failed: lazy pointer not found"-Fehler
falls man sich damit "plagt" Programme aus der *nix-Welt auf einem Mac zum Laufen zu bringen, kann es einem unter MacOSX 10.4.x passieren, dass sich die Programmquellen mehr oder minder problemlos compilieren lassen, allein, führt man anschliessend das erhaltene Programm aus, so beendet es sich, und im CrashReport-Log findet sich ein ähnlicher Eintrag wie dieser;
dyld: lazy symbol binding failed: lazy pointer not found
dyld: lazy pointer not found
Trace/BPT trap
Widerfährt dies einem, hilft es mutmasslich das Programm erneut mit dem gcc Version 3.x anstelle des unter MacOSX 10.4.x voreingestellten gcc Version 4 zu kompilieren (zum Wechseln der gcc-Version stellt Apple das Kommandozeilen-Programm gcc_select zur Verfügung). Freilich erst nachdem man vorab mittels beispielsweise make clean die vom gcc4 erstellten Objektdateien "entsorgt" hat…