LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2007, 01:44 PM   #1
crimsonflame123
Member
 
Registered: Jul 2005
Location: varanasi,india
Distribution: FC4
Posts: 74

Rep: Reputation: 15
What is XScreenSaver Extension


Hello

I am installing a program which requires XScreenSaverExtension

I am gettion the following output on running ./configure

Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for Qt >= 3.1 ... yes
Checking for the XScreenSaver extension ... no

Error: need the XScreenSaver extension!


I really have no idea what this XScreenSaver Extension is. I tried finding a bit and came to know that it refers to libxss-dev
It would be very nice if someone could tell me how to obtain it ...

I use FC6 .

Thanks in advance ...

Last edited by crimsonflame123; 02-03-2007 at 01:48 PM.
 
Old 02-03-2007, 02:44 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Do you have xscreensaver installed?
I used the smart package manager to look for libxss and came up with this...
Code:
smart search libxss
Loading cache...
Updating cache...               ########################################## [100%]

libXScrnSaver - X.Org X11 libXss runtime library
libXScrnSaver-devel - X.Org X11 libXScrnSaver development package

Saving cache...
Next, I check to see where it is on my box...
Code:
locate libXScrnSaver
/usr/share/doc/libXScrnSaver-1.1.0
/usr/share/doc/libXScrnSaver-1.1.0/AUTHORS
/usr/share/doc/libXScrnSaver-1.1.0/COPYING
/usr/share/doc/libXScrnSaver-1.1.0/INSTALL
/usr/share/doc/libXScrnSaver-1.1.0/README
Those probably where installed when I installed the xscreensavers...
Code:
rpm -qa |grep xscreensaver
xscreensaver-base-5.01-6.fc6
xscreensaver-extras-5.01-6.fc6
rss-glx-xscreensaver-0.8.1.p-6.fc6
xscreensaver-gl-extras-5.01-6.fc6
 
Old 02-03-2007, 07:57 PM   #3
crimsonflame123
Member
 
Registered: Jul 2005
Location: varanasi,india
Distribution: FC4
Posts: 74

Original Poster
Rep: Reputation: 15
Thank You Homey for helping
However I have both libXScrnSaver and libXScrnSaver-devel installed ( according to yum )
And i ran the same commands as you mentioned in your post and got the same output.

Still the output to the ./configure script is same --- no XScreenSaver extension (

so i suppose that libXScrnSaver-devel and libXss-dev are different things ...
 
Old 02-03-2007, 08:01 PM   #4
crimsonflame123
Member
 
Registered: Jul 2005
Location: varanasi,india
Distribution: FC4
Posts: 74

Original Poster
Rep: Reputation: 15
Here is the output of the configure script with its --verbose option

PREFIX=/usr/local
BINDIR=/usr/local/bin
DATADIR=/usr/local/share
EX_QTDIR=

Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for Qt >= 3.1 ... yes
Checking for the XScreenSaver extension ...
* [gcc -c -I xssprobe_test.c -o xssprobe_test.o]
gcc: no input files
* returned: 256
-> no

Error: need the XScreenSaver extension!


I hope this helps ...
 
Old 02-03-2007, 09:41 PM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Not sure in your case but, sometimes there is an issue with the version of gcc libraries.
From my notes...

Some applications that were compiled with an older GCC 3.2 will require compatibility libraries.
Make sure to have the following RPM's installed.
Code:
smart install compat-libstdc++-33 compat-libstdc++-296
Some applications will NOT compile in GCC 4.1. You can install GCC 3.2
to allow compiling applications which do not yet support GCC 4.1. Make sure
to have the following RPM's installed.
Code:
smart install compat-gcc-32 compat-gcc-32-c++
 
Old 02-03-2007, 10:40 PM   #6
crimsonflame123
Member
 
Registered: Jul 2005
Location: varanasi,india
Distribution: FC4
Posts: 74

Original Poster
Rep: Reputation: 15
I had them the two packages installed when i was installing FC6. I suppose there shouldnt be any issues with it. Besides the program that I am trying to install (jabbin) was released on 21st January, 2007. I suppose then its safe to presume that gcc4.1 was used.

One thing thats escaping me are the lines

* [gcc -c -I xssprobe_test.c -o xssprobe_test.o]
gcc: no input files
* returned: 256

why does it say "no input files" ???

for your convenience here is the ./configure script . maybe there is a problem in it ...

#!/bin/sh
#
# Generated by qconf 1.2 ( http://delta.affinix.com/qconf/ )
#

show_usage() {
cat <<EOT
Usage: $0 [OPTION]...

This script creates necessary configuration files to build/install.

Main options:
--prefix=[path] Base path for build/install. Default: /usr/local
--bindir=[path] Directory for binaries. Default: PREFIX/bin
--datadir=[path] Directory for data. Default: PREFIX/share
--qtdir=[path] Directory where Qt is installed.
--verbose Show extra configure output.
--help This help text.

EOT
}

# which/make detection adapted from Qt
which_command() {
OLD_HOME=$HOME
HOME=/dev/null
export HOME

WHICH=`which which 2>/dev/null`
if echo $WHICH | grep 'shell built-in command' >/dev/null 2>&1; then
WHICH=which
elif [ -z "$WHICH" ]; then
if which which >/dev/null 2>&1; then
WHICH=which
else
for a in /usr/ucb /usr/bin /bin /usr/local/bin; do
if [ -x $a/which ]; then
WHICH=$a/which
break;
fi
done
fi
fi

if [ -z "$WHICH" ]; then
OLD_IFS=$IFS
IFS=:
for a in $PATH; do
if [ -x $a/$1 ]; then
echo "$a/$1"
IFS=$OLD_IFS
export IFS
HOME=$OLD_HOME
export HOME
return 0
fi
done
IFS=$OLD_IFS
export IFS
else
a=`"$WHICH" "$1" 2>/dev/null`
if [ ! -z "$a" -a -x "$a" ]; then
echo "$a"
HOME=$OLD_HOME
export HOME
return 0
fi
fi
HOME=$OLD_HOME
export HOME
return 1
}
WHICH=which_command

# find a make command
if [ -z "$MAKE" ]; then
MAKE=
for mk in gmake make; do
if $WHICH $mk >/dev/null 2>&1; then
MAKE=`$WHICH $mk`
break
fi
done
if [ -z "$MAKE" ]; then
echo "You don't seem to have 'make' or 'gmake' in your PATH."
echo "Cannot proceed."
exit 1
fi
fi

show_qt_info() {
printf "Be sure you have a proper Qt 4.0 build environment set up. This means not\n"
printf "just Qt, but also a C++ compiler, a make tool, and any other packages\n"
printf "necessary for compiling C++ programs.\n"
printf "\n"
printf "If you are certain everything is installed, then it could be that Qt 4 is not\n"
printf "being recognized or that a different version of Qt is being detected by\n"
printf "mistake (for example, this could happen if \$QTDIR is pointing to a Qt 3\n"
printf "installation). At least one of the following conditions must be satisfied:\n"
printf "\n"
printf " 1) --qtdir is set to the location of Qt\n"
printf " 2) \$QTDIR is set to the location of Qt\n"
printf " 3) QtCore is in the pkg-config database\n"
printf " 4) qmake is in the \$PATH\n"
printf "\n"
printf "This script will use the first one it finds to be true, checked in the above\n"
printf "order. #3 and #4 are the recommended options. #1 and #2 are mainly for\n"
printf "overriding the system configuration.\n"
printf "\n"
}

while [ $# -gt 0 ]; do
case "$1" in
--prefix=*)
PREFIX="${1#--prefix=}"
shift
;;

--bindir=*)
BINDIR="${1#--bindir=}"
shift
;;

--datadir=*)
DATADIR="${1#--datadir=}"
shift
;;

--qtdir=*)
EX_QTDIR="${1#--qtdir=}"
shift
;;

--verbose)
QC_DEBUG="Y"
shift
;;
--help) show_usage; exit ;;
*) show_usage; exit ;;
esac
done

PREFIX=${PREFIX:-/usr/local}
BINDIR=${BINDIR:-$PREFIX/bin}
DATADIR=${DATADIR:-$PREFIX/share}

echo "Configuring Jabbin ..."

if [ "$QC_DEBUG" = "Y" ]; then
echo
echo PREFIX=$PREFIX
echo BINDIR=$BINDIR
echo DATADIR=$DATADIR
echo EX_QTDIR=$EX_QTDIR
echo
fi

printf "Verifying Qt 3.x Multithreaded (MT) build environment ... "

if [ -z "$QTDIR" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo \$QTDIR not set... trying to find Qt manually
fi
for p in /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do
if [ -d "$p/mkspecs" ]; then
QTDIR=$p
break;
fi;
done
if [ -z "$QTDIR" ]; then
echo fail
echo
echo "Unable to find Qt 'mkspecs'. Perhaps you need to"
echo "install the Qt 3 development utilities. You may download"
echo "them either from the vendor of your operating system"
echo "or from http://www.trolltech.com/"
echo
echo "If you're sure you have the Qt development utilities"
echo "installed, you might try using the --qtdir option."
echo
exit 1;
fi
if [ ! -x "$QTDIR/bin/moc" ]; then
m=`which moc 2>/dev/null`
if [ ! -x "$m" ]; then
echo fail
echo
echo "We found Qt in $QTDIR, but we were unable to locate"
echo "the moc utility. It was not found in $QTDIR/bin"
echo "nor in PATH. This seems to be a very unusual setup."
echo "You might try using the --qtdir option."
echo
exit 1;
fi
qtpre=`echo $m | awk '{ n = index($0, "/bin/moc"); if (!n) { exit 1; } print substr($0, 0, n-1); exit 0; }' 2>/dev/null`
ret="$?"
if [ "$ret" != "0" ]; then
echo fail
echo
echo "We found Qt in $QTDIR, but the location of moc"
echo "($m) is not suitable for use with this build system."
echo "This is a VERY unusual and likely-broken setup. You"
echo "should contact the maintainer of your Qt package."
echo
exit 1;
fi
QTDIR=$qtpre
fi
fi

if [ ! -x "$QTDIR/bin/qmake" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo Warning: qmake not in \$QTDIR/bin/qmake
echo trying to find it in \$PATH
fi
qm=`which qmake 2>/dev/null`
if [ -x "$qm" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo qmake found in $qm
fi
else
echo fail
echo
echo Sorry, you seem to have a very unusual setup,
echo or I missdetected \$QTDIR=$QTDIR
echo
echo Please set \$QTDIR manually and make sure that
echo \$QTDIR/bin/qmake exists.
echo
exit 1;
fi
else
qm=$QTDIR/bin/qmake
fi

gen_files() {
cat >$1/modules.cpp <<EOT
#line 1 "qt31.qcm"
/*
-----BEGIN QCMOD-----
name: Qt >= 3.1
-----END QCMOD-----
*/
class qc_qt31 : public ConfObj
{
public:
qc_qt31(Conf *c) : ConfObj(c) {}
QString name() const { return "Qt >= 3.1"; }
QString shortname() const { return "qt31"; }
bool exec()
{
if(QT_VERSION >= 0x030100) {
if(QT_VERSION < 0x030300)
conf->addExtra("QXML_STATIC = Y");
return true;
}
else
return false;
}
};
#line 1 "xss.qcm"
/*
-----BEGIN QCMOD-----
name: the XScreenSaver extension
-----END QCMOD-----
*/

//----------------------------------------------------------------------------
// qc_xss
//----------------------------------------------------------------------------
class qc_xss : public ConfObj
{
public:
enum { OK, NEEDLIB, FAIL };
qc_xss(Conf *c) : ConfObj(c)
{
}

~qc_xss()
{
remove("xssprobe_test.c");
remove("xssprobe_test.o");
remove("xssprobe_test");
}

QString name() const
{
return "the XScreenSaver extension";
}

QString shortname() const { return "xss"; }

int do_write()
{
char *xsstest =
"#include<X11/Xlib.h>\n"
"#include<X11/Xutil.h>\n"
"#include<X11/extensions/scrnsaver.h>\n"
"\n"
"int main()\n"
"{\n"
" XScreenSaverQueryExtension(NULL, NULL, NULL);\n"
" return 0;\n"
"}\n";

FILE *f;
f = fopen("xssprobe_test.c", "w");
if(!f)
return 0;
fwrite(xsstest, strlen(xsstest), 1, f);
fclose(f);

return 1;
}

int do_compile()
{
QString inc = conf->expandIncludes(conf->qvar("QMAKE_INCDIR_X11"));
QString str = conf->qvar("QMAKE_CC") + " -c " + inc + " xssprobe_test.c -o xssprobe_test.o";
int r = conf->doCommand(str);
if(r == 0)
return 1;
else
return 0;
}

int do_link()
{
QString lib = conf->expandLibs(conf->qvar("QMAKE_LIBDIR_X11"));
QString inc = conf->expandIncludes(conf->qvar("QMAKE_INCDIR_X11"));
QString str = conf->qvar("QMAKE_CC") + " xssprobe_test.o -o xssprobe_test " + lib + ' ' + conf->qvar("QMAKE_LIBS_X11");
int r = conf->doCommand(str);
if(r == 0)
return 1;
else
return 0;
}

int do_linkLib()
{
QString lib = conf->expandLibs(conf->qvar("QMAKE_LIBDIR_X11"));
QString inc = conf->expandIncludes(conf->qvar("QMAKE_INCDIR_X11"));
QString str = conf->qvar("QMAKE_CC") + " xssprobe_test.o -o xssprobe_test " + lib + ' ' + conf->qvar("QMAKE_LIBS_X11") + " -lXss";
int r = conf->doCommand(str);
if(r == 0)
return 1;
else
return 0;
}

int do_all()
{
if(!do_write())
return FAIL;
if(!do_compile())
return FAIL;
if(do_link())
return OK;
if(do_linkLib())
return NEEDLIB;
return FAIL;
}

bool exec()
{
int r = do_all();
if(r == OK) {
conf->addDefine("HAVE_XSS");
return true;
}
else if(r == NEEDLIB) {
conf->addDefine("HAVE_XSS");
conf->addLib("-lXss");
return true;
}
}
};

EOT
cat >$1/modules_new.cpp <<EOT
o = new qc_qt31(conf);
o->required = true;
o->disabled = false;
o = new qc_xss(conf);
o->required = true;
o->disabled = false;

EOT
cat >$1/conf.h <<EOT

EOT
cat >$1/conf.cpp <<EOT
#include<stdio.h>
#include<stdlib.h>
#include<qstring.h>
#include<qdict.h>
#include<qptrlist.h>
#include<qfileinfo.h>
#include<qfile.h>
#include<qdir.h>
#include<qstringlist.h>
#include<qobject.h>

class MocTestObject : public QObject
{
Q_OBJECT
public:
MocTestObject() {}
};

class Conf;

class ConfObj
{
public:
ConfObj(Conf *c);
virtual ~ConfObj();

virtual QString name() const=0;
virtual QString shortname() const=0;
virtual QString checkString() const;
virtual QString resultString() const;
virtual bool exec()=0;

Conf *conf;
bool required;
bool disabled;
};

typedef QPtrList<ConfObj> ConfObjList;
typedef QPtrListIterator<ConfObj> ConfObjListIt;

class Conf
{
public:
Conf() : vars(17)
{
list.setAutoDelete(true);
vars.setAutoDelete(true);

vars.insert("QMAKE_INCDIR_X11", new QString(X11_INC));
vars.insert("QMAKE_LIBDIR_X11", new QString(X11_LIBDIR));
vars.insert("QMAKE_LIBS_X11", new QString(X11_LIB));
vars.insert("QMAKE_CC", new QString(CC));
vars.insert("QMAKE_CXX", new QString(CXX));

do_debug = false;
done_debug = false;
}

~Conf()
{
}

void added(ConfObj *o)
{
list.append(o);
}

QString getenv(const QString &var)
{
char *p = ::getenv(var.latin1());
if(!p)
return QString::null;
return QString(p);
}

void debug(const QString &s)
{
if(do_debug) {
if(!done_debug)
printf("\n");
done_debug = true;
printf(" * %s\n", s.latin1());
}
}

bool exec()
{
if(getenv("QC_DEBUG") == "Y")
do_debug = true;

ConfObjListIt it(list);
for(ConfObj *o; (o = it.current()); ++it) {
// if this was a disabled-by-default option, check if it was enabled
if(o->disabled) {
QString v = QString("QC_ENABLE_") + o->shortname();
if(getenv(v) != "Y")
continue;
}
// and the opposite?
else {
QString v = QString("QC_DISABLE_") + o->shortname();
if(getenv(v) == "Y")
continue;
}

QString check = o->checkString();
if(check.isEmpty())
check = QString("Checking for %1 ...").arg(o->name());
printf("%s", check.latin1());
fflush(stdout);

done_debug = false;
bool ok = o->exec();

QString result = o->resultString();
if(result.isEmpty()) {
if(ok)
result = "yes";
else
result = "no";
}
if(done_debug)
printf(" -> %s\n", result.latin1());
else
printf(" %s\n", result.latin1());

if(!ok && o->required) {
printf("\nError: need %s!\n", o->name().latin1());
return false;
}
}
return true;
}

const QString & qvar(const QString &s)
{
QString *p = vars.find(s);
if(p)
return *p;
else
return blank;
}

QString expandIncludes(const QString &inc)
{
return QString("-I") + inc;
}

QString expandLibs(const QString &lib)
{
return QString("-L") + lib;
}

int doCommand(const QString &s)
{
debug(QString("[%1]").arg(s));
QString fullcmd;
if(do_debug)
fullcmd = s;
else
fullcmd = s + " 1>/dev/null 2>/dev/null";
int r = system(fullcmd.latin1());
debug(QString("returned: %1").arg(r));
return r;
}

bool doCompileAndLink(const QString &filedata, const QString &flags, int *retcode=0)
{
QDir dir(".");
QString fname = "atest.c";
QString out = "atest";
QFile f(fname);
QCString cs = filedata.latin1();
if(!f.open(IO_WriteOnly | IO_Truncate)) {
debug("unable to open atest.c for writing");
return false;
}
if(f.writeBlock(cs.data(), cs.length()) == -1) {
debug("error writing to atest.c");
return false;
}
f.close();

debug(QString("Wrote atest.c:\n%1").arg(filedata));

QString str = qvar("QMAKE_CXX") + ' ' + fname + " -o " + out;
if(!flags.isEmpty()) {
str += ' ';
str += flags;
}

int r = doCommand(str);
if(r == 0 && retcode)
*retcode = doCommand(QString("./") + out);
dir.remove(fname);
dir.remove(out);
if(r != 0)
return false;
return true;
}

bool checkHeader(const QString &path, const QString &h)
{
QFileInfo fi(path + '/' + h);
if(fi.exists())
return true;
return false;
}

bool findHeader(const QString &h, const QStringList &ext, QString *inc)
{
if(checkHeader("/usr/include", h)) {
*inc = "";
return true;
}
QStringList dirs;
dirs += "/usr/local/include";
dirs += ext;
for(QStringList::ConstIterator it = dirs.begin(); it != dirs.end(); ++it) {
if(checkHeader(*it, h)) {
*inc = *it;
return true;
}
}
return false;
}

bool checkLibrary(const QString &path, const QString &name)
{
QString str =
"int main()\n"
"{\n"
" return 0;\n"
"}\n";

QString extra;
if(!path.isEmpty())
extra += QString("-L") + path + ' ';
extra += QString("-l") + name;
if(!doCompileAndLink(str, extra))
return false;
return true;
}

bool findLibrary(const QString &name, QString *lib)
{
if(checkLibrary("", name)) {
*lib = "";
return true;
}
if(checkLibrary("/usr/local/lib", name)) {
*lib = "/usr/local/lib";
return true;
}
return false;
}

void addDefine(const QString &str)
{
if(DEFINES.isEmpty())
DEFINES = str;
else
DEFINES += QString(" ") + str;
debug(QString("DEFINES += %1").arg(str));
}

void addLib(const QString &str)
{
if(LIBS.isEmpty())
LIBS = str;
else
LIBS += QString(" ") + str;
debug(QString("LIBS += %1").arg(str));
}

void addIncludePath(const QString &str)
{
if(INCLUDEPATH.isEmpty())
INCLUDEPATH = str;
else
INCLUDEPATH += QString(" ") + str;
debug(QString("INCLUDEPATH += %1").arg(str));
}

void addExtra(const QString &str)
{
extra += str + '\n';
debug(QString("extra += %1").arg(str));
}

QString DEFINES;
QString INCLUDEPATH;
QString LIBS;
QString extra;

private:
ConfObjList list;
QDict<QString> vars;
QString blank;
bool do_debug, done_debug;
};

ConfObj::ConfObj(Conf *c)
{
conf = c;
conf->added(this);
required = false;
disabled = false;
}

ConfObj::~ConfObj()
{
}

QString ConfObj::checkString() const
{
return QString();
}

QString ConfObj::resultString() const
{
return QString();
}

#include"modules.cpp"

//----------------------------------------------------------------------------
// main
//----------------------------------------------------------------------------
int main()
{
Conf *conf = new Conf;
ConfObj *o;
o = 0;
#include"modules_new.cpp"

printf("ok\n");
bool success = false;
if(conf->exec()) {
QFile f("conf.pri");
if(!f.open(IO_WriteOnly | IO_Truncate)) {
printf("Error writing %s\n", f.name().latin1());
return 1;
}

QString str;
str += "# qconf\n";
str += "QT_PATH_PLUGINS = " + QString(qInstallPathPlugins()) + '\n';
if(!conf->DEFINES.isEmpty())
str += "DEFINES += " + conf->DEFINES + '\n';
if(!conf->INCLUDEPATH.isEmpty())
str += "INCLUDEPATH += " + conf->INCLUDEPATH + '\n';
if(!conf->LIBS.isEmpty())
str += "LIBS += " + conf->LIBS + '\n';
if(!conf->extra.isEmpty())
str += conf->extra;
str += '\n';

char *p = getenv("BINDIR");
if(p) {
str += QString("target.path = ") + p + '\n';
str += "INSTALLS += target\n";
}

QCString cs = str.latin1();
f.writeBlock(cs.data(), cs.length());
f.close();
success = true;
}
delete conf;

if(success)
return 0;
else
return 1;
}

#include"conf.moc"


EOT
cat >$1/conf.pro <<EOT
TEMPLATE = app
CONFIG += qt x11 thread console
TARGET = conf

DEFINES += X11_INC='"\$\$QMAKE_INCDIR_X11"'
DEFINES += X11_LIBDIR='"\$\$QMAKE_LIBDIR_X11"'
DEFINES += X11_LIB='"\$\$QMAKE_LIBS_X11"'
DEFINES += CC='"\$\$QMAKE_CC"'
DEFINES += CXX='"\$\$QMAKE_CXX"'

SOURCES += conf.cpp

DEFINES += HAVE_MODULES

EOT
}

export PREFIX
export BINDIR
export DATADIR
export EX_QTDIR
export QC_DEBUG
rm -rf .qconftemp
(
mkdir .qconftemp
gen_files .qconftemp
cd .qconftemp
$qm conf.pro >/dev/null
QTDIR=$QTDIR make clean >/dev/null 2>&1
QTDIR=$QTDIR make >../conf.log 2>&1
)

if [ "$?" != "0" ]; then
rm -rf .qconftemp
echo fail
echo
echo "There was an error compiling 'conf'. Be sure you have a proper"
echo "Qt 3.x Multithreaded (MT) build environment set up. This"
echo "means not just Qt, but also a C++ compiler, the 'make' command,"
echo "and any other packages necessary to compile C++ programs."
echo "See conf.log for details."
if [ ! -f "$QTDIR/lib/libqt-mt.so.3" ]; then
echo
echo "One possible reason is that you don't have"
echo "libqt-mt.so.3 installed in $QTDIR/lib/."
fi
echo
exit 1;
fi

.qconftemp/conf
ret="$?"
if [ "$ret" = "1" ]; then
rm -rf .qconftemp
echo
exit 1;
else
if [ "$ret" != "0" ]; then
rm -rf .qconftemp
echo fail
echo
echo "Unexpected error launching 'conf'"
echo
exit 1;
fi
fi
rm -rf .qconftemp

if [ -x "./qcextra" ]; then
./qcextra
fi
# run qmake
$qm jabbin.pro
if [ "$?" != "0" ]; then
echo
exit 1;
fi
cat >Makefile.tmp <<EOT
export QTDIR = $QTDIR
export PATH = $QTDIR/bin:$PATH
EOT
cat Makefile >> Makefile.tmp
rm -f Makefile
cp -f Makefile.tmp Makefile
rm -f Makefile.tmp

echo
echo "Good, your configure finished. Now run 'make'."
echo
 
Old 02-04-2007, 08:41 AM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I'm not sure what's going on there. Maybe you would have better luck with this rpm package.
Code:
https://sourceforge.net/project/showfiles.php?group_id=166861&package_id=207732
It's designed for FC5 but, it installed fine on my FC6 box after I intalled qca.
Code:
smart install qca qca-tls

rpm -Uvh jabbin-2.0-0beta.0blag.fc5.i386.rpm
 
  


Reply



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
Linux file extension vs Dos file Extension? manaa Linux - Newbie 6 02-12-2009 04:19 PM
xscreensaver longhair_ad Linux - Newbie 1 01-10-2007 10:23 PM
Xscreensaver! mala Linux - Software 4 02-16-2005 04:30 PM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 01:06 PM
xscreensaver rhraz Linux - General 4 02-25-2004 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration