LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Sea Monkey compile stops at make (http://www.linuxquestions.org/questions/linux-from-scratch-13/sea-monkey-compile-stops-at-make-4175439028/)

EDDY1 11-27-2012 08:43 PM

Sea Monkey compile stops at make
 
I just started compiling Sea Monkey & after hours of waiting for compile to complete it stops with error "make:***moz-build-dir/suite/installer: No such file or directory. Stop."

Also there were no other errors.

Keith Hedger 11-28-2012 06:16 AM

What version of seamonkey are you installing? These are the commands I used:
Code:

        patch -p1 < ../seamonkey-2.10.1-necko-wifi-1.patch
        cp ../mozconfig .
        make -f client.mk
        make -C moz-build-dir/suite/installer
        mkdir -p /usr/share/man/man1 /usr/bin
        rm -rf /usr/lib${LIBDIRSUFFIX}/seamonkey-2.10.1
        mkdir -pv /usr/lib${LIBDIRSUFFIX}/seamonkey-2.10.1
        tar -xf moz-build-dir/mozilla/dist/seamonkey-2.10.1.en-US.linux-$(uname -m).tar.bz2 -C /usr/lib${LIBDIRSUFFIX}/seamonkey-2.10.1 --strip-components=1
        ln -sfv ../lib${LIBDIRSUFFIX}/seamonkey-2.10.1/seamonkey /usr/bin
        mkdir -pv /usr/lib${LIBDIRSUFFIX}/mozilla/plugins
        ln -sfv ../mozilla/plugins /usr/lib${LIBDIRSUFFIX}/seamonkey-2.10.1
        cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1
        mkdir -pv /usr/share/applications
        cp ../seamonkey.desktop /usr/share/applications
        ln -sv ../lib${LIBDIRSUFFIX}/seamonkey-2.10.1/chrome/icons/default/seamonkey.png /usr/share/pixmaps/seamonkey.png

and no problems.

LIBDIRSUFFIX is set to 64 ( I am on a 64bit system and I like libs in /lib64, /usr/lib64 etc.

EDDY1 11-28-2012 11:33 AM

I'm installing version 2.13.2 with the blfs instructions here http://www.linuxfromscratch.org/blfs...seamonkey.html
Also this version doesn't have a patch.

commands that I used
Quote:

cat > mozconfig << EOF (enabling all of the config files)
make -f client.mk &&
make -C moz-build-dir/suite/installer
Also tried
Quote:

cat > mozconfig << EOF (enabling all of the config files)
make -f client.mk
make -C moz-build-dir/suite/installer
It fails at

Quote:

make -C moz-build-dir/suite/installer

Keith Hedger 11-29-2012 06:18 AM

I've just compiled version 2.13.2 with no problems, it may be a problem with you mozconfig file can you post it?
Also try removing the moz-build-dir and rebuilding.

EDDY1 11-29-2012 09:54 AM

I erased my mozconfig but now looking at "cat > mozconfig << EOF" in blfs book
I noticed this
Quote:

ac_add_options --disable-installer
I think that must be the problem. Should I comment this out?

Keith Hedger 11-29-2012 10:06 AM

you can try but by leaving it in you will DISABLE the installer ( it wont get built ), this is my mozconfig
Code:

# If you have a multicore machine you can speed up the build by running
# several jobs at once, but if you have a single core, delete this line:
mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"

# If you have installed Yasm delete this option:
#ac_add_options --disable-webm

# If you have installed DBus-Glib delete this option:
#ac_add_options --disable-dbus

# If you have installed wireless-tools delete this option:
ac_add_options --disable-necko-wifi

# If you have installed libnotify delete this option:
#ac_add_options --disable-libnotify

# Uncomment these if you have installed them:
ac_add_options --enable-startup-notification
# ac_add_options --enable-system-hunspell
#ac_add_options --enable-system-sqlite
ac_add_options --with-system-libevent
# ac_add_options --with-system-libvpx
#ac_add_options --with-system-nspr
ac_add_options --with-system-nss

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-installer
ac_add_options --disable-static
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --enable-application=suite
ac_add_options --enable-shared
#ac_add_options --enable-system-cairo
ac_add_options --enable-system-ffi
ac_add_options --prefix=/usr
ac_add_options --with-pthreads
ac_add_options --with-system-jpeg
#ac_add_options --with-system-png
ac_add_options --with-system-zlib
ac_add_options --libdir=/usr/lib64

which I know works try it ( copy and paste ) just change the last line to --libdir=/usr/lib if you are on 32bit

EDDY1 11-30-2012 11:31 AM

I was able to get to the next set of commands this time but failed at

Quote:

tar -xf moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$(uname -m).tar.bz2 \
moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$x86 not such file or directory.

Keith Hedger 11-30-2012 12:50 PM

Quote:

Originally Posted by EDDY1 (Post 4840312)
I was able to get to the next set of commands this time but failed at

moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$x86 not such file or directory.

Part of you line is missing it should be:
Code:

tar -xf moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$(uname -m).tar.bz2 -C /tmp/LFS/usr/lib/seamonkey-2.13.2 --strip-components=1

EDDY1 11-30-2012 05:19 PM

Quote:

Originally Posted by Keith Hedger (Post 4840365)
Part of you line is missing it should be:
Code:

tar -xf moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$(uname -m).tar.bz2 -C /tmp/LFS/usr/lib/seamonkey-2.13.2 --strip-components=1

that was actually the error
Quote:

moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$x86 no such file or directory.
the command was
Quote:

tar -xf moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$(uname -m).tar.bz2 \ -C /usr/lib/seamonkey-2.13.2 --strip-components=1 &&
maybe I'll try the command that you have in place of the 1 posted in blfs.
In fact I'm going to try your list of commands minus the patch

stoat 11-30-2012 08:10 PM

You probably know this, and have a reason to compile that from source, but SeaMonkey is available in that linux-i686 version (or whatever the proper name of it is) that runs directly from the untarred directory. I have tried to compile Mozilla stuff before, and that has just never been a fun experience for me. So for a long time now, I have been using the linux-i686 versions of Firefox and Thunderbird which work for me and install in about a minute (provided I have already installed the things they require). But you probably knew all that, and it is kinda like cheating, I guess.

EDDY1 11-30-2012 10:38 PM

This time it compiled but can't figure out how to launch from xfce4

EDDY1 11-30-2012 11:28 PM

Ok this thread is now officially solved

This error
Quote:

make:***moz-build-dir/suite/installer: No such file or directory. Stop
solved by commenting out "ac_add_options --disable-installer" in mozconfig file.

This error
Quote:

moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$x86 no such file or directory.
Was caused by copy & paste in links part of the text left the screen & would not make the complete command.
The failing command was
Quote:

tar -xf moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$(uname -m).tar
-C /usr/lib/seamonkey-2.13.2 --strip-components=1
While it should've been
Quote:

tar -xf moz-build-dir/mozilla/dist/seamonkey-2.13.2.en-US.linux-$(uname -m).tar.bz2 \
-C /usr/lib/seamonkey-2.13.2 --strip-components=1
The problem with not being able to launch SeaMonkey I needed Desktop Entry.
The Basic Desktop Entry provided by BLFS fails to create the Desktop Entry because off the "&&" at the end of the cat command.
This 1 errors
Quote:

cat > /usr/share/applications/seamonkey.desktop << "EOF" &&
Should've been
Quote:

cat > /usr/share/applications/seamonkey.desktop << "EOF"


All times are GMT -5. The time now is 09:56 AM.