LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   NVU ....does NOFING : Hangs when ran (https://www.linuxquestions.org/questions/slackware-14/nvu-does-nofing-hangs-when-ran-319244/)

Lagg 05-02-2005 01:15 AM

NVU ....does NOFING : Hangs when ran
 
I have just tried installing NVU on my slack 10.0 (with 2.6.10 kernel) with Dropline.

I used the .TGZ supplied from http://www.nvu.com and ran it as root the 1st time (as suggested) and I got this message


*** nsExtensionManager::_disableObsoleteExtensions - failure, catching exception so finalize window can close
*** loading the extensions datasource
*** loading the extensions datasource


then is just sits there......and does NOTHING

If I ctrl-c that and run nvu again, it just sits there.


What gives?

Thier documentation on that site is pretty shabby.

Hangdog42 05-02-2005 07:54 AM

To be honest, I've just used the binaries (.tar.bz2) not the Slackware package. You might give that a try.

That said, there are other, much better, HTML editors out there. Bluefish is my favorite and I've heard good things about Quanta.

Lagg 05-02-2005 09:58 AM

thanks.

gbonvehi 05-02-2005 10:29 AM

I tried nvu yesterday and worked fine but I used the package from http://www.linuxpackages.net (http://www.linuxpackages.net/pkg_details.php?id=6430 read the comments there.)

IamDaniel 06-28-2005 06:22 PM

I have Slackware 10, kernel 2.4.9...

So, is it ok to install the 10.1 slackware package from linuxpackages.net, because it's lack of Slackware 10 package support ?

By the way, is it necessary for running as root, for the first-run ?

Hangdog42 06-29-2005 07:08 AM

I don't think there are huge differences between Slack 10 and 10.1. The 10 package should probably work. You also shouldn't need to run NVU as root at any point.

IamDaniel 06-29-2005 07:15 PM

Quote:

Originally posted by Hangdog42
I don't think there are huge differences between Slack 10 and 10.1. The 10 package should probably work. You also shouldn't need to run NVU as root at any point.
Thanks for your kindly reply...

I afraid that the binary package isn't that clean (trojaned or etc...), since the package creator claims need to run as root for first time in order to run faster when it's run as normal user.

Pretty strange...aren't it...?

Code:

PACKAGE NAME:    nvu-1.0PR-i686-1taz
COMPRESSED PACKAGE SIZE:    12460 K
UNCOMPRESSED PACKAGE SIZE:    48290 K
PACKAGE LOCATION: nvu-1.0PR-i686-1taz.tgz
PACKAGE DESCRIPTION:
nvu: Nvu 1.0PR (Complete web authoring system)
nvu:
nvu: A complete, free, open source, multi - platform web authoring system
nvu:
nvu: You should run Nvu as root for the first time, so You can launch
nvu: it faster with normal user
nvu:
nvu:
nvu:
nvu:
nvu: Package Created By: Tomas aka Tazikas
FILE LIST:


Hangdog42 06-29-2005 08:41 PM

Well, like I said in my original post, I've had perfectly good luck with the binaries on the NVU site and even better luck with Bluefish. I know a lot of people complete trust linuxpackages stuff, but the decision to install or not is completely yours, as is following the hint to run NVU as root the first time. My guess is that the package is fine, but the call is yours.

gbonvehi 06-29-2005 09:04 PM

It's not strange to have to run as root for the first time, some time ago that was needed for Mozilla to work and NVU is based on it.
There are some programs that need this because they create some stuff for them the first time they're run and they can't create it if they don't have the right permissions. Of course, the programmers should avoid this, but sometimes they can't or don't want.

IamDaniel 06-30-2005 06:24 PM

Quote:

Originally posted by gbonvehi
It's not strange to have to run as root for the first time, some time ago that was needed for Mozilla to work and NVU is based on it.
There are some programs that need this because they create some stuff for them the first time they're run and they can't create it if they don't have the right permissions. Of course, the programmers should avoid this, but sometimes they can't or don't want.

Probably true...thanks guys!

IamDaniel 07-01-2005 07:16 PM

Just download one of and followed by another, but unfortunately...both packages from linuxpackages.net and nvu.com returned the following:

Code:

*** nsExtensionManager::_disableObsoleteExtensions - failure, catching exception so finalize window can close
*** loading the extensions datasource
*** loading the extensions datasource

Am I missing something?

Hangdog42 07-02-2005 07:25 AM

I don't think you're missing anything....That looks like a bug in NVU. I've got version 0.81, which does run, and I see that they have released 1.0. I also see that they have several linux packages available. Did you try all three or only one of them?

And at the risk of sounding like a broken record, you might want to consider Bluefish

IamDaniel 07-02-2005 07:26 PM

Quote:

Originally posted by Hangdog42
I don't think you're missing anything....That looks like a bug in NVU. I've got version 0.81, which does run, and I see that they have released 1.0. I also see that they have several linux packages available. Did you try all three or only one of them?

And at the risk of sounding like a broken record, you might want to consider Bluefish

Yap, I tried the contributions package and package from linuxpackages.net, both fails.

Now they seems to remove the slackware package from the contributions list...

Anyway, I go for bluefish, and it just awesome...perhaps just need to do some comparison before sticks with it, when will the nvu release a stable release?

Nobber 07-03-2005 03:52 AM

Quote:

Originally posted by gbonvehi
It's not strange to have to run as root for the first time, some time ago that was needed for Mozilla to work and NVU is based on it.
In fact you still need to run Firefox once as root the first time - if you're compiling from source - so it can create some required files under $PREFIX/lib/firefox-*. However, the people who package Firefox (or NVU) should be taking care of that, so other users don't have to.

jong357 07-03-2005 05:58 AM

Well, the only thing you haven't tried is compiling it yourself... It'd be worth a shot anyway. I know your using Bluefish now.. Atleast you'll know if it's a problem with the packages or not. I built it from source and it runs great. I just winged this build script but aparently I got it right the first time around... If your interested....

Code:

#!/bin/sh
#
# We just need the source and this script in the same directory

CWD=`pwd`
TMP=/tmp
PKG=$TMP/package-nvu
VERSION=1.0PR
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}

if [ "$ARCH" = "i386" ]; then
  SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mcpu=i686"
elif [ "$ARCH" = "athlon_xp" ]; then
  SLKCFLAGS="-O2 -march=i486 -mcpu=athlon-xp"
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2"
fi

rm -rf $PKG
mkdir -p $PKG/install
mkdir -p $PKG/usr/share/{applications,pixmaps}

cd $TMP
if [ -r mozilla ]; then
  echo
  echo "Removing existing source in $TMP"
  rm -rf mozilla
fi

echo
echo "nvu-$VERSION-sources.tar.bz2 is now extracting..."
tar xjf $CWD/nvu-$VERSION-sources.tar.bz2
cd mozilla
chown -R root.root .
CFLAGS="$SLKCFLAGS" \
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 MOZ_STANDALONE_COMPOSER=1 \
./configure --prefix=/usr \
        --enable-optimize \
        --disable-debug \
        --with-default-mozilla-five-home=/usr/lib/mozilla \
        --disable-svg \
        --without-system-mng \
        --without-system-png \
        --disable-ldap \
        --disable-mailnews \
        --disable-installer \
        --disable-activex \
        --disable-activex-scripting \
        --disable-tests \
        --disable-oji \
        --disable-necko-disk-cache \
        --enable-single-profile \
        --disable-profilesharing \
        --enable-extensions=wallet,xml-rpc,xmlextras,pref,universalchardet,editor/cascades,spellcheck \
        --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data \
        --disable-pedantic \
        --disable-short-wchar \
        --enable-xprint \
        --enable-strip-libs \
        --enable-crypto \
        --disable-mathml \
        --with-system-zlib \
        --enable-toolkit=gtk2 \
        --enable-default-toolkit=gtk2 \
        --enable-xft \
        --disable-freetype2 \
        --enable-image-decoders=default,-xbm &&
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 MOZ_STANDALONE_COMPOSER=1 make -j4 -s export
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 MOZ_STANDALONE_COMPOSER=1 make -j4 -s libs
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 MOZ_STANDALONE_COMPOSER=1 DESTDIR=$PKG make install

( cd $PKG/usr/lib
  ln -sf nvu-$VERSION nvu )

# We have an m4 file that is identical to the mozilla one.
# It wouldn't harm anything since they are the same, it's
# just bad form..
( cd $PKG/usr/share/aclocal
  mv nspr.m4 nspr.m4.new )

cat composer/base/skin/icon.png > $PKG/usr/share/pixmaps/nvu.png

# You can change the Application Category if you wish:
cat << EOF > $PKG/usr/share/applications/nvu.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Nvu
Name[en_CA]=Nvu
Name[en_GB]=Nvu
Comment=Web Authoring System
Comment[en_CA]=Web Authoring System
Comment[en_GB]=Web Authoring System
Exec=nvu
Icon=/usr/share/pixmaps/nvu.png
Terminal=false
Type=Application
Categories=Application;Graphics
StartupNotify=true
EOF
chmod 644 $PKG/usr/share/applications/nvu.desktop

cat << EOF > $PKG/install/slack-desc
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.  Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in.  You must make
# exactly 11 lines for the formatting to be correct.  It's also customary to
# leave one space after the ':'.

  |-----handy-ruler----------------------------------------------------------|
nvu: nvu (HTML Editor)
nvu:
nvu: Nvu is a complete Web Authoring System for Linux Desktop users to rival
nvu: programs like FrontPage and Dreamweaver. Nvu (pronounced N-view) makes
nvu: managing a web site a snap.  Now anyone can create web pages and manage
nvu: a website with no technical expertise or knowledge of HTML.
nvu:
nvu:
nvu:
nvu:
nvu:
EOF

cat << EOF > $PKG/install/doinst.sh
#!/bin/sh
#
# Check to see if we have Mozilla's nspr.m4
config() {
  NEW="$1"
  OLD="`dirname $NEW`/`basename $NEW .new`"
  # If there's no file by that name, mv it over:
  if [ ! -r $OLD ]; then
    mv $NEW $OLD
  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
    rm $NEW
  fi
  # Otherwise, we leave the .new copy for the admin to consider...
}
config usr/share/aclocal/nspr.m4.new
# Begin symlinks:
EOF

# Build the package:
cd $PKG
makepkg -l y -c n $TMP/nvu-$VERSION-$ARCH-$BUILD.tgz



All times are GMT -5. The time now is 04:16 AM.