NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Getting Eterm Compiled
Topic: Desktop   Posted:2003-01-10
Printer Friendly: Print

spacerspacer
Eterm is awful cool. One problem, though, is getting the Imlib2 and Freetype dependencies worked out. I'm assuming that Freetype2 is installed and running, as well as dependencies for KDE. This should be the case for most distributions and if you follow the BLFS instructions for KDE. Also, check out an article from 2001 on NetAdminTools here. Freetype1 and Freetype2 should run side by side OK. I've compiled Freetype2 in with X. Warning: do not recompile Freetype2 after you built it in to X, or the libraries won't work right. OK. On to Eterm. First, grab the sources:
Eterm
Imlib2
Freetype

Throw the sources in, say, /usr/src, and install:

[/usr/src]# ls
Eterm-0.9.2.tar.gz  freetype-1.3.1.tar.gz
imlib2-1.0.6.tar.gz
[/usr/src]# for i in *
> do
> tar -xzf $i
> done
[/usr/src]#
[/usr/src]# ls
Eterm-0.9.2         freetype-1.3.1.tar.gz
Eterm-0.9.2.tar.gz  imlib2-1.0.6
freetype-1.3.1      imlib2-1.0.6.tar.gz
[/usr/src]# cd freetype*
# ./configure --prefix=/usr && make && make install
# cd ..
# cd imlib2*
# CFLAGS='-L../src/.libs' ./configure --prefix=/usr
# make && make install
# cd ..
# cd Et*
# ./configure --prefix=/usr
.
.
.
Eterm 0.9.2
Configuration:
--------------
Source code location:
.
Host System Type:
i686-pc-linux-gnu
Preprocessor:
gcc -I/usr/include -I/usr/X11R6/include
-I/usr/include -I/usr/X11R6/include
Compiler:
gcc -g -O2
Linker:
gcc -L/usr/lib -L/usr/X11R6/lib -L/usr/lib
-L/usr/X11R6/lib  -last -lImlib2 -lttf -ldl
-lSM -lICE -last -lXmu -lXext -lX11 -lutil -lm
Install path:               /usr
.
.
.
# make && make install

The tricky part above is the CFLAGS line. Imlib2 tries to find itself and can't during the compile. Without that line, you will get an error saying /usr/bin/ld cannot find -lImlib2.




Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS