LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-21-2004, 08:18 PM   #1
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
compiling openoffice


I am trying to build an OpenOffice.org slackware package. During ./configure, I get this error:
Code:
checking for xmkmf... no
configure: error: install xmkmf to run this script, include openwin in path
I have passed the following options in the configure script:
Code:
--prefix=/usr --sysconfdir=/etc --localstatedir=/var --bindir=/usr/bin \
--with-jdk-home=/usr/lib/j2sdk1.4.2_04 --x-includes=/usr/X11R6 --x-libraries=/usr/X11R6/lib \
--disable-mozilla
I manually checked to see if I have xmkmf installed:
Code:
whereis xmkmf
xmkmf: /usr/X11R6/bin/xmkmf /usr/bin/X11/xmkmf
Can anybody help me with how to pass this argument to get configure past this?
Thanks in advance.
 
Old 07-21-2004, 08:46 PM   #2
iro
LQ Newbie
 
Registered: Dec 2002
Location: Australia
Distribution: Slackware-current
Posts: 10

Rep: Reputation: 0
If you check out the results of:

./configure --help

It will hopefully tell you how to explicitly specify where xmkmf is
 
Old 07-21-2004, 08:57 PM   #3
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Original Poster
Rep: Reputation: 30
Unfortunately, it doesn't, unless I'm missing it.
Quote:
For better control, use the options below.

Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]

X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-libart Enables the use of libart, instead of GPC for
polygon clipping.

--enable-libsn Enables the use of libstartup-notification

--disable-mozilla OO.o usually includes a strangely hacked up mozilla
binary for your platform, to build without this
version, use this option.

Usage: --disable-mozilla

--enable-gcc3 Deprecated: Now has no effect, checks compiler version

--enable-symbols Include debugging symbols in output. Warning -
a complete build needs 8 Gb of space and takes
much longer. (enables -g compiler flag)

--enable-symbols=SMALL sets the gcc -g1 setting
which is smaller.


--enable-debug: Include debugging symbols from --enable-symbols
plus extra debugging code. Extra large build!
(enables -g compiler flag and dmake debug=true)

--enable-crashdump: Enable the crashdump feature code. This option
implicitly activates --enable-symbols.

--enable-cl-standard For Microsoft C/C++ compiler users, use non-optimizing standard compiler.
( This just disables optimization options and therefore removes a lot of
warnings when using the cheaper standard compiler. )

--enable-static-gtk: Modules that are linked against gtk libraries use
the static libraries instead of the dynamic ones.
(enables -Bstatic linker flag for gtk libraries)

--disable-rpath: Disable the use of relative paths in shared libraries

--disable-java Build without Java support. Use if there is no supported JDK
for your platform. The build will have no support for Java
components, applets, accessibility or XML filters.

--enable-check-only Use this option option if you just want to check your
environment. This option stops the generation of an
????env.set

Usage: --enable-check-only=yes

--enable-macos9 Use this option option if you want to generate a
macos9 environment on macosx.

Usage: --enable-macos9

--enable-sgistl for IRIX users, use this option option to build
OpenOffice.org using SGI's STL.

Usage: --enable-check-only=yes


Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD

--with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD

--without-gpc *NOT RECOMMENDED* Removes GPC code from
openoffice.org Reduces some graphics capability
slightly.
This is required to allow some strict packagers to
comply with their distrubution policy.

--without-fonts Removes Bitstream Vera fonts from
openoffice.org installation set, for people building
for specific distributions where the fonts are known
to be already available

--with-system-zlib Use zlib already on system

--with-stlport4-home The location that STLport4 is installed in. The STL
header files are assumed to be in stlport4-home/stlport
and the STLport4 library in stlport4-home/lib.

Usage: --with-stlport4-home=<absolute path to stlport4 home>

--with-jdk-home if you have installed JDK 1.3, on your system,
please supply the path here.
Note that this is not the location of the Java binary but the
location of the entire distribution.

Usage: --with-jdk-home=<absolute path to JDK 1.3 home>

--with-gxx-include-path if you want to override the autodetected g++ include path.

Usage: --with-gxx-include-path=<absolute path to g++ include dir>

--with-ant-home If you have installed Jakarta Ant on your system,
please supply the path here.
Note that this is not the location of the Ant binary
but the location of the entire distribution.

Usage: --with-ant-home=<absolute path to Ant home>

--with-perl-home If you have installed the Perl 5 Distribution, on your
system, please supply the path here.
Note that this is not the location of the Perl binary
but the location of the entire distribution.

Usage: --with-perl-home=<absolute path to Perl 5 home>

--with-cl-home For Windows NT users, please supply the path
for the Microsoft C/C++ compiler.
Note that this is not the location of the compiler
binary but the location of the entire distribution.

Usage: --with-cl-home=<absolute path to Microsoft C/C++ compiler home>

--with-mspdb-path For Microsoft C/C++ compiler users, please supply the path
pointing to the mspdb60.dll (MSVC 6) or mspdb7x.dll (.NET).

Usage: --with-mspdb-path=<absolute path to mspdb60.dll/mspdb7x.dll>

--with-midl-path For Microsoft C/C++ .NET compiler users, please supply the path
pointing to the midl.exe.

Usage: --with-midl-path=<absolute path to midl.exe>

--with-wdevenv-path For Microsoft C/C++ .NET compiler users, please supply the path
pointing to the wdevenv.exe.

Usage: --with-wdevenv-path=<absolute path to wdevenv.exe>

--with-psdk-home For Windows NT users, please supply the path
for the Microsoft Platform SDK.

Usage: --with-psdk-home=<absolute path to Microsoft Platform SDK>

--with-2003-psdk Deprecated: Now has no effect.

--with-old-psdk For Windows users, and compatibility reasons. Please
use this option for the October 2002 version of the
Microsoft Platform SDK.

This is a temporary workaround!

Usage: --with-old-psdk

--with-local-solenv If you have solenv in a location other than ../solenv,
please supply the path here.

Usage: --with-local-solenv=<absolute path to solenv>

--with-local-solver if you have solver in a location other than ../solver,
please supply the path here.

Usage: --with-local-solver=<absolute path to solver>

--with-lang Use this option to build OpenOffice.org with
additional language support. US English is always
included by default. Separate multiple languages with
commas. For all languages, use --with-lang=ALL.

Usage: --with-lang=SPAN,SWED,TURK

--with-dict Use this option to build OpenOffice.org with
dictionary support. ALL dictionaries are always
included by default unless overridden with
this option. Separate multiple dictionaries with
commas. For all dictionaries, use --with-dict=ALL.

Usage: --with-dict=ENGB,ENUS,ITIT

--with-asm-home For Windows users, please supply the path for the
ml.exe assembler.

Usage: --with-asm-home=<path to ml.exe directory>

--with-os-version For FreeBSD users, use this option option to override
the detected OSVERSION.

Usage: --with-os-version=<OSVERSION>

--with-unzip-home Deprecated: use --with-zip-home instead
--with-zip-home If you use a non standard zip, for example windows
please supply the path for zip

Usage: --with-zip-home=<path to zip executable>

--with-mingwin For Windows users, use the mingwin32 compiler within
cygwin environment, this implies --with-use-shell=tcsh

Usage: --with-mingwin=yes

--with-use-shell Select shell different form the default shell. For
Windows users, don't use the 4NT shell with
"mingwin32" environment

Usage: --with-use-shell=<desired shell>

--with-x use the X Window System

Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
I'd appreciate any help I can get if i'm missing something.
 
Old 07-22-2004, 12:36 AM   #4
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 16
Yes from what I hear it is painful, but very do able, a guy name Diffie has do it over at the dropline forums for version 1.1.1, now 1.1.2 is out (I think). Here is the link I believe on the second page that some asked him how he did it, and he goes it to detail about it. Let us know when you have done it. Good Luck.

-tank
 
Old 07-22-2004, 12:01 PM   #5
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Original Poster
Rep: Reputation: 30
Thanks for the link. Unfortunately, I haven't even made it past the configure stage because it can't find this file. Any ideas package building gurus?
 
Old 07-22-2004, 12:54 PM   #6
MilkyBar_Kid
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Rep: Reputation: 0
Hi

This may sound silly, but have you checked the md5 to make sure file wasn't corrupted during the D/L?
 
Old 07-22-2004, 01:19 PM   #7
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
whereis xmkmf
xmkmf: /usr/X11R6/bin/xmkmf /usr/bin/X11/xmkmf

I would try symlinking xmkmf to /usr/bin

Code:
cd /usr/bin/
ln -s /usr/bin/X11/xmkmf
i bet it will find it after doing that.


Also, there is an openoffice binary installer.... I would use that.. unless you just want to compile it for the sake of comopiling it
 
Old 07-22-2004, 04:35 PM   #8
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Original Poster
Rep: Reputation: 30
I want to be able to make a slackware package for it--easier for install and uninstall. I'll try the binary installer to see if I can get the makepkg stuff to work.

The symlink worked! Now there's other hurdles but I'll try the binary installer first!

Thanks, it seems overly simple now.
 
Old 10-25-2004, 11:54 AM   #9
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Quote:
Originally posted by trey85stang
whereis xmkmf
xmkmf: /usr/X11R6/bin/xmkmf /usr/bin/X11/xmkmf

I would try symlinking xmkmf to /usr/bin

Code:
cd /usr/bin/
ln -s /usr/bin/X11/xmkmf
i bet it will find it after doing that.
(It's been said before, but ...) Ah, the power of Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling OpenOffice 2 require the rpm tool? Seph64 Linux From Scratch 4 11-07-2005 10:22 AM
Compiling OpenOffice without PAM toffi22 Linux - Software 4 08-16-2005 05:16 AM
openoffice 1.1.4 make error while compiling flash? behmjoe Linux - Software 0 04-29-2005 04:35 PM
error compiling openoffice 1.1.3 on morphix subirbp Debian 0 11-21-2004 01:04 AM
error compiling openoffice on morphix subirbp Debian 0 11-05-2004 02:57 AM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration