|
|
Old issues that you are not likely to encounter
These are answers to questions that have come up in the past, but you
are unlikely to encounter if you use a modern Linux/Windows/Mac OS X
installation.
- I'm trying to install the RPM, what's this libgcc thing that's
required?
libgcc is a small library needed to run some apps that have
been compiled with gcc versions 3.0 and up (i.e. AMIDE). An rpm
package is available for redhat 7.3 (and up) which should solve
this dependency.
- What version of gcc should I be using to compile AMIDE?
A version of gcc >= 3.0.4. Previous versions of gcc
(especially 2.96, shipped with Redhat and Mandrake distributions,
but even 3.0.3) have generated compilation errors when compiling
with optimizations. The configuration script shipped with AMIDE
will detect versions of gcc previous to 3.0.4 and complain, but
allows using these compilers with optimizations turned off.
- Linking AMIDE fails because libdb1 can't be found.
Check if "gnome-config --libs" returns a "-ldb1" as part of the
string of libraries returned. If this is the case, the problem is
that gnome-config on your system still wants to link programs to
libdb1, but libdb1 is depreciated and has been removed from current
versions of glibc. One solution (at least on Mandrake 8.0) is to
install the db1 and db1-devel RPM package.
- When compiling AMIDE, I get a bunch of warnings about not
being able to find gtk header files, like:
In file included from amide.c:27:
/usr/include/gnome.h:6: gtk/gtk.h: No such file or directory
In file included from /usr/include/gdk_imlib.h:5,
from /usr/include/gnome.h:7,
from amide.c:27:
I've seen this mainly with people who have upgraded to the
Ximian gnome packages. The location of the gtk header files has
changed in recent times from /usr/include/gtk to
/usr/include/gtk-1.2/gtk (in line with the imminent emergence of
gtk-2.0). The problem is that the gnome header files that come
with ximian still point to the wrong location. This will most
likely be fixed in future releases of Ximian/Gnome, but until
then, the work around is to (as root) :
cd /usr/include
ln -s gtk-1.2/gtk/ gtk
ln -s gtk-1.2/gdk/ gdk
ln -s glib-1.2/glib.h glib.h
Alternatively, if you don't have root, you can make the
following links in the AMIDE source directory. This will allow
AMIDE to compile, but doesn't help you if you're having problems
compiling other Gtk+/GNOME programs: (thanks to Steve
Robbins)
ln -s /usr/include/gtk-1.2/gtk .
ln -s /usr/include/gdk-1.2/gdk .
ln -s /usr/include/glib-1.2/* .
- AMIDE crashes when generating an MPEG.
This is most likely due to a problem with libfame. Libfame has
a fair amount of assembly code optimized functions, and this ends
up making it fairly finicky as to which version of gcc it's
compiled with.
The solution is to rebuild libfame with "--enable-mmx=no" passed
to the configure script. This will disable the assembly code
functions, and use the straight C code ones instead. I've actually
never been able to compile a stable version of libfame without
disabling mmx.
- AMIDE crashes on Windows.
Before you email the user's list,
check which version of the GTK runtime you're using. About half the
time people run into problems with the Windows version of AMIDE,
it's because they've installed the wrong version of the GTK
runtime. The runtime that AMIDE is currently built against is
Dropline version 2.2.4-3, available
here. As AMIDE is compiled against this specific version of the
runtime, using newer versions of the runtime will often lead to
weird errors and crashes.
- On Mac OS X, staring up AMIDE fails with a
"cannot open display" warning.
You're probably trying to run AMIDE from Terminal.app instead
of X11.app. AMIDE is an X11 application, meaning an X11 server
needs to be running to accept the graphical display of AMIDE. On
Mac OS X, the X11 server is called X11.app. Start up X11.app, then
start an x-terminal within X11.app (Menu: Applications->Terminal),
and then run AMIDE by typing "amide" at the x-terminal's command
prompt.
- I'm trying to install on Mac OS X
10.4. I've followed the directions, but I'm getting the following
error message:
my_macosx_computer:/Users/my_name my_name# amide
dyld: Library not loaded: /sw/lib/libiconv.2.dylib
Referenced from: /sw/bin/amide
Reason: Incompatible library version: amide requires version 6.0.0
or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
This problem is caused by having an old version of fink on your
computer. Try upgrading fink by running:
fink selfupdate
|