- Index
- » Users
- » rsamurti
- » Profile
Posts
Posts
Hello,
To see detailed error messages when I try OMEdit -- help in a terminal, I got this error message:
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6QWidget: Must construct a QApplication before a QPaintDevice
Caught signal 6Segmentation fault
What is the solution?
Anand
Hello,
Trying to build OpenModelica-1.9.3 on Slackware Current.
When I do
./configure CC=clang CXX=clang++ LDFLAGS="-lncurses" --with-cppruntime \
--prefix=/usr \
--build=$ARCH-slackware-linux \
--with-lapack="-llapack -lblas"
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking target system type... i486-slackware-linux-gnu
build_short: i486-linux-gnu
host_short: i486-linux-gnu
checking if cppruntime is requested... yes
checking for omlibrary target... core
checking for libraries directory... configure: error: no
How to correct this?
Thanks for your help.
Anand
Hello,
Finally I am alble to create the compiled package GIT version of OpenModelica for Slackware Current:
This is my buildscript:
#!/bin/sh
# Slackware build script for openmodelica
# Copyright 2014 R. S. Ananda Murthy, Mysore, India
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openmodelica
VERSION=${VERSION:-git20150905}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
LIBS="-lreadline"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}
tar xvf $CWD/${PRGNAM}-$VERSION.tar.gz
cd ${PRGNAM}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
autoconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-lncurses" \
./configure CC=clang CXX=clang++ \
--prefix=/usr/ \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--disable-modelica3d \
--without-omc \
--with-omniORB \
--without-paradiseo \
--with-lapack='-llapack -lblas'
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp -a OMCompiler/COPYING $PKG/usr/doc/$PRGNAM-$VERSION/COPYING
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
install -D -m644 "OMEdit/OMEdit/OMEditGUI/Resources/icons/omedit.ico" "$PKG/usr/share/openmodelica/icons/omedit.ico"
install -D -m644 "OMNotebook/OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.ico" "$PKG/usr/share/openmodelica/icons/omnotebook.ico"
install -D -m644 "OMOptim/OMOptim/GUI/Resources/omoptim.ico" "$PKG/usr/share/openmodelica/icons/omoptim.ico"
install -D -m644 "OMShell/OMShell/OMShellGUI/Resources/omshell.ico" "$PKG/usr/share/openmodelica/icons/omshell.ico"
install -D -m644 "OMPlot/OMPlot/OMPlotGUI/Resources/icons/omplot.ico" "$PKG/usr/share/openmodelica/icons/omplot.ico"
mkdir -p $PKG/usr/share/applications
cat <<EOF > $PKG/usr/share/applications/omedit.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMEdit
GenericName=Physical modeling and simulation tool
Comment=A Modelica connection editor
TryExec=OMEdit
Exec=OMEdit %f
Icon=omedit.png
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;Education;Science;Math;
MimeType=text/x-onb;application/x-omnotebook;
EOF
cat <<EOF > $PKG/usr/share/applications/omnotebook.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMNotebook
GenericName=Physical modeling and simulation tool
Comment=An open-source software tool for an electronic notebook\nsupporting Modelica.
TryExec=OMNotebook
Exec=OMNotebook %f
Icon=OMNotebook_icon.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;Education;Science;Math;
MimeType=text/x-onb;application/x-omnotebook;
EOF
cat <<EOF > $PKG/usr/share/applications/omshell.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMShell
GenericName=Physical modeling and simulation tool
Comment=A complete Modelica modeling, compilation and simulation environment based on free software.
TryExec=OMShell
Exec=OMShell
Icon=omshell-large.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;IDE;
EOF
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
But when I run OMEdit in a terminal I get this error message:
Caught signal 11Segmentation fault
Any clues to solve this problem?
Thanks for your help.
Anand
Hello,
To make configure detect, I had to do this:
LDFLAGS="-lncurses" \
./configure CC=clang CXX=clang++ \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--with-omniORB \
--disable-modelica3d \
--without-paradiseo \
--without-omc \
--with-lapack="-llapack -lblas" \
--disable-python-interface
Now after compilation, and installation, if I try to start OMEdit I get this error message:
Caught signal 11Segmentation fault
But OMShell and OMShell-terminal are starting properly
Anand
Hello,
Earlier I was able to disable OMShell during configure to avoid this problem. But now, in the GIT version I am not able to disable OMShell. How to do this?
Anand
Hello,
When I try to compile the GIT version I got this error message:
checking for sys/time.h... yes
checking for antlr.Tool support... ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005
yes
checking if the user wants to compile OMShell-terminal... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for library containing readline... no
configure: error: readline missing
configure: error: ./configure failed for OMCompiler
This is my buildscript:
#!/bin/sh
# Slackware build script for openmodelica
# Copyright 2014 R. S. Ananda Murthy, Mysore, India
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openmodelica
VERSION=${VERSION:-git20150830}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}
tar xvf $CWD/${PRGNAM}-$VERSION.tar.gz
cd ${PRGNAM}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
autoconf
./configure --prefix=/usr/ --without-omc --with-omniORB \
--with-cppruntime --with-lapack='-llapack -lblas' \
--without-omshell
make NOLIBRARIES=Yes all
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt COPYING REVISION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
mkdir -p $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
cp ./OMEdit/OMEditGUI/Resources/icons/omedit.png $PKG/usr/share/pixmaps/omedit.png
cp ./OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.svg $PKG/usr/share/pixmaps/OMNotebook_icon.svg
cp ./OMShell/OMShellGUI/Resources/omshell-large.svg $PKG/usr/share/pixmaps/omshell-large.svg
cat <<EOF > $PKG/usr/share/applications/omedit.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMEdit
GenericName=Physical modeling and simulation tool
Comment=A Modelica connection editor
TryExec=OMEdit
Exec=OMEdit %f
Icon=omedit.png
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;Education;Science;Math;
MimeType=text/x-onb;application/x-omnotebook;
EOF
cat <<EOF > $PKG/usr/share/applications/omnotebook.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMNotebook
GenericName=Physical modeling and simulation tool
Comment=An open-source software tool for an electronic notebook\nsupporting Modelica.
TryExec=OMNotebook
Exec=OMNotebook %f
Icon=OMNotebook_icon.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;Education;Science;Math;
MimeType=text/x-onb;application/x-omnotebook;
EOF
cat <<EOF > $PKG/usr/share/applications/omshell.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMShell
GenericName=Physical modeling and simulation tool
Comment=A complete Modelica modeling, compilation and simulation environment based on free software.
TryExec=OMShell
Exec=OMShell
Icon=omshell-large.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;IDE;
EOF
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
Hello,
Building openmodelica SVN25917 fails with the following error message on Slackware Current:
Installing OpenModelica...
# Application directory (OSX)
if [ "" = ".app" ]; then cp -rp ./build/Applications/ /tmp/SBo/package-openmodelica/Applications/MacPorts/; fi
# Binaries
cp -a ././build/bin/* /tmp/SBo/package-openmodelica/usr/bin
# Libraries
cp -a ././build/lib/* /tmp/SBo/package-openmodelica/usr/lib/
# Includes
cp -a ././build/include/omc/* /tmp/SBo/package-openmodelica/usr/include/omc
cp -a ././build/include/omc/i486-linux-gnu/omc/antlr3 /tmp/SBo/package-openmodelica/usr/include/i486-linux-gnu/omc/antlr3
cp: cannot stat ‘././build/include/omc/i486-linux-gnu/omc/antlr3’: No such file or directory
make: *** [install] Error 1
Any solutions?
Anand
Hello,
Please read some basics of modeling of systems and then tutorials on Modelica and OpenModelica. Without a basic knowledge of system modeling you will not be able to understand the usage of OpenModelica properly.
Liniks for tutorials are here in this site.
If you want to install OpenModelica on Slackware GNU Linux, you can get the build scripts to compile and create the required packages from http://www.slackbuilds.org/
RSA
Hello,
What subjects did you study in the first year? What are you studying now?
RSA
Hello,
What course are you doing in the University? What courses have you already studied?
R S Ananda Murthy
Hello,
Thanks for your reply. The example you have given is working in OpenModelica (SVN Version 1.9.2+dev (r24888).
Can you please explain what is the function of the ramp block and the constant k block?
Anand
Hello,
In Modelica, whenever we give the command for simulation, the variables in the system are computed as functions of time.
But, suppose we want to determine the frequency response of a system and plot the magnitude and phase angle plot, we need to plot these two quantities with respect to frequency. How is this possible in Modelica?
Thanks for your help.
R S Ananda Murthy
Hello,
How to conduct simulation of steady-state analysis of A.C. circuits using phasors for voltages, currents, and impedances?
Thanks for your help.
Anand
Hello,
How to load different parameter values from an external file? For example, if a create class called TransmissionLine, how to create instances of TransmissionLine with different parameter values taken from an external file?
Anand
Hello,
What actually happens when we use the command
instantiateModel(ModelName)
Anand
Hello,
Here is the build log:
svn23899-build.log
metis-4.0.3 is installed and I have /usr/include/metis/metis.h.
Anand
Hello,
I am running BouncingBall simulation on OpenModelica 1.9.2+dev (r23627) on Slackware GNU Linux (32-bit).
When I start simulation it does not complete. It stops at 3%. These are the messages:
Under Compilation Tab:
BouncingBall_records.o BouncingBall_01exo.o BouncingBall_02nls.o BouncingBall_03lsy.o BouncingBall_04set.o BouncingBall_05evt.o BouncingBall_06inz.o BouncingBall_07dly.o BouncingBall_08bnd.o BouncingBall_09alg.o BouncingBall_10asr.o BouncingBall_11mix.o BouncingBall_12jac.o BouncingBall_13opt.o BouncingBall_14lnz.o -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -L"/usr/doc/omc/testmodels" -O0 -falign-functions -march=native -L"/usr/doc/omc/testmodels" -L"/usr/lib/omc" -L"/usr/lib" -Wl,-rpath,"/usr/lib/omc" -Wl,-rpath,"/usr/lib" -lSimulationRuntimeC -llapack -lblas -lm -lgc -lpthread -rdynamic
Compilation process exited with code 0
Under Output Tab:
stdout | OMEditInfo | /tmp/OpenModelica_anand/OMEdit/BouncingBall -port=36688 -logFormat=xml -override=startTime=0,stopTime=1,tolerance=1e-6,solver=dassl,outputFormat=mat,variableFilter=.* -dasslJacobian=coloredNumerical -w -lv=LOG_STATS
Any solutions?
Thanks for your help.
Anand
Hello,
I am trying to package omlibraries for Slackware Current. I am placing the libraries in /usr/lib/omlibrary. Is this correct?
Here is my build script:
#!/bin/sh
# Slackware build script for omlibraries
# Copyright 2014 R. S. Ananda Murthy, Mysore, India
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=omlibraries
VERSION=${VERSION:-svn20141118}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf openmodelicalibraries_20141118-193049
tar xvf $CWD/openmodelicalibraries_20141118-193049.tar.xz
cd openmodelicalibraries_20141118-193049
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
autoconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
Hello sjoelund.se,
SVN23451 built properly. Thank you for your help.
Anand
Hello,
Build log is here:
Anand
Hello,
Is it possible to enable building this as root? Please note that this is a requirement at www.slackbuilds.org for the buildscript to be included in the repository.
Anand
Is cppruntime essential?
Can I just do make all?
Anand
Hello,
On Slackware Current the build log is given below:
Anand
Hello,
With --without-omc it worked! Thank you.
Anand
Hello,
This is the log:
Anand
So,
make NOLIBRARIES=Yes all-runtimeCPPinstall
Is this correct?
So, should it be
make NOLIBRARIES=Yes all runtimeCPPinstall
For what purpose is C++ runtime?
Anand
In my openmodelica.SlackBuild script file I have:
autoconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--with-omniORB \
--disable-modelica3d \
--disable-omshell-terminal \
--without-paradiseo \
--disable-rml-trace \
--with-lapack="-llapack -lblas" \
--with-METIS=/usr \
--disable-python-interface
make NOLIBRARIES=Yes all
make install DESTDIR=$PKG
Is this not alright? Should I change it to the lines given in Debian rules file?
Hello,
Thank you so much for your reply.
In Debian rules file we have
$(MAKE) $(MAKEFLAGS) NOLIBRARIES=Yes release mosh omlibrary qtclients
$(MAKE) $(MAKEFLAGS) NOLIBRARIES=Yes runtimeCPPinstall
mv build/bin/omc build/bin/omc-bootstrapped
Why cannot we use
make NOLIBRARIES=Yes all
Anand
Hello,
This may be a very basic question. Please pardon me. What is the meaning of this? Why is it needed in respect of omc?
Anand
What is the reason for this restriction?
Anand
Hello,
When I try to build openmodelica as root it stops with a warning that openmodelica should not be run as root. Can we not build it as root?
Anand
Hello,
Please give the links for downloading the Version 1.9.1 source file in tar.gz format.
Anand
Hello,
Build scripts for creating packages of OpenModelica and OMLibraries for Slackware 14.1 and Current are now available at www.slackbuilds.org.
Anand
Hello,
It worked after I removed the old package. Thanks for your help.
Anand
Hello,
Here is the log.
Anand
Hello,
I have successfully built the libraries using the build script given below. I will be upload this at www.slackbuiilds.org.
#---------------------------------------------------------------------
#!/bin/sh
# Slackware build script for omlibrary
# Copyright 2014 R. S. Ananda Murthy, Mysore, India
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=omlibraries
VERSION=${VERSION:-svn190812}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf openmodelicalibraries_20141016-190812
tar xvf $CWD/openmodelicalibraries_20141016-190812.tar.xz
cd openmodelicalibraries_20141016-190812
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
autoconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr
make -j2 install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
#-----------------------------------------------------------------------------------
Hello,
I have successfully built OpenModelica-SVN22802 on Slackware Current using the build script given below:
I will be uploading this build script at http://www.slackbuilds.org/
#-----------------------------------------------------------------------------------------
#!/bin/sh
# Slackware build script for openmodelica
# Copyright 2014 R. S. Ananda Murthy, Mysore, India
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openmodelica
VERSION=${VERSION:-svn22802}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}_22802
tar xvf $CWD/${PRGNAM}_22802.orig.tar.gz
cd ${PRGNAM}_22802
fakeroot chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
autoconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--with-omniORB \
--disable-modelica3d \
--disable-omshell-terminal \
--without-paradiseo \
--disable-rml-trace \
--with-lapack="-llapack -lblas" \
--with-METIS=/usr \
--with-qwt \
--with-BOOST \
--disable-python-interface
make -j2 NOLIBRARIES=Yes all
make -j2 install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt COPYING REVISION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
mkdir -p $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
cp ./OMEdit/OMEditGUI/Resources/icons/omedit.png $PKG/usr/share/pixmaps/omedit.png
cp ./OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.svg $PKG/usr/share/pixmaps/OMNotebook_icon.svg
cp ./OMShell/OMShellGUI/Resources/omshell-large.svg $PKG/usr/share/pixmaps/omshell-large.svg
cat <<EOF > $PKG/usr/share/applications/omedit.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMEdit
GenericName=Physical modeling and simulation tool
Comment=A Modelica connection editor
TryExec=OMEdit
Exec=OMEdit %f
Icon=/usr/share/pixmaps/omedit.png
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;Education;Science;Math;
MimeType=text/x-onb;application/x-omnotebook;
EOF
cat <<EOF > $PKG/usr/share/applications/omnotebook.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMNotebook
GenericName=Physical modeling and simulation tool
Comment=An open-source software tool for an electronic notebook\nsupporting Modelica.
TryExec=OMNotebook
Exec=OMNotebook %f
Icon=/usr/share/pixmaps/OMNotebook_icon.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;Education;Science;Math;
MimeType=text/x-onb;application/x-omnotebook;
EOF
cat <<EOF > $PKG/usr/share/applications/omshell.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=OMShell
GenericName=Physical modeling and simulation tool
Comment=A complete Modelica modeling, compilation and simulation environment based on free software.
TryExec=OMShell
Exec=OMShell
Icon=/usr/share/pixmaps/omshell-large.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;IDE;
EOF
cd $PKG
fakeroot /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
#---------------------------------------------------------------------------------------------------------------------------
Hello,
I installed omniORBpy. After this I did
make -j2 install DESTDIR=/tmp/SBo/package
and got this error message:
(time make -C PythonInterface -f Makefile)
if [ "" = ".app" ]; then mkdir -p /tmp/SBo/package/Applications/MacPorts/; fi
make[1]: Entering directory `/home/anand/Downloads/openmodelica/openmodelica_22761/PythonInterface'
# create directories
mkdir -p /tmp/SBo/package/usr/bin
mkdir -p /tmp/SBo/package/usr/lib/
mkdir -p /tmp/SBo/package/usr/include/omc
mkdir -p /tmp/SBo/package/usr/share/doc//omc/testmodels
mkdir -p /tmp/SBo/package/usr/share/man//man1/
mkdir -p /tmp/SBo/package/usr/share/locale
test ! -d ./build/share/doc/omedit/ || mkdir -p /tmp/SBo/package/usr/share/doc//omedit/
mkdir -p ..//build/lib/python/omniORB
mkdir -p ..//build/share/omc/scripts/PythonInterface/OMPython/OMParser
! which python2.6 || python2.6 setup.py install --no-compile `test -d /etc/apt && echo --install-layout=deb` --prefix=..//build
test ! -d ./build/share//omnotebook/ || mkdir -p /tmp/SBo/package/usr/share//omnotebook/
which: no python2.6 in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/blender:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde3/lib/qt3/bin:/opt/kde3/bin:/usr/lib/qt/bin:/opt/sage:/opt/scilab/bin:/usr/lib/smlnj/bin)
! which python2.7 || python2.7 setup.py install --no-compile `test -d /etc/apt && echo --install-layout=deb` --prefix=..//build
test ! -d ./build/share//omshell/nls/ || mkdir -p /tmp/SBo/package/usr/share//omshell/nls/
/usr/bin/python2.7
test ! -d ./build/share//omedit/nls/ || mkdir -p /tmp/SBo/package/usr/share//omedit/nls/
mkdir -p /tmp/SBo/package/usr/share//omc/scripts /tmp/SBo/package/usr/share/omc/java
running install
Checking .pth file support in ..//build/lib/python2.7/site-packages/
/usr/bin/python2.7 -E -c pass
TEST FAILED: ..//build/lib/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
..//build/lib/python2.7/site-packages/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/eas … -locations
Please make the appropriate changes for your system and try again.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/anand/Downloads/openmodelica/openmodelica_22761/PythonInterface'
real 0m0.185s
user 0m0.152s
sys 0m0.020s
make: *** [install-python] Error 2
Hello,
I am now able to build SVN Version 22761 on Slackware Current by following the same sequence given in rules for Debian build!!
But when I try to
make -j2 install DESTDIR=/tmp/SBo/package > out-6.log 2>&1
I get the error message given in the log file below:
(time make -C PythonInterface -f Makefile)
if [ "" = ".app" ]; then mkdir -p /tmp/SBo/package/Applications/MacPorts/; fi
make[1]: Entering directory `/home/anand/Downloads/openmodelica/openmodelica_22761/PythonInterface'
# create directories
mkdir -p /tmp/SBo/package/usr/bin
mkdir -p /tmp/SBo/package/usr/lib/
mkdir -p /tmp/SBo/package/usr/include/omc
mkdir -p /tmp/SBo/package/usr/share/doc//omc/testmodels
mkdir -p /tmp/SBo/package/usr/share/man//man1/
mkdir -p /tmp/SBo/package/usr/share/locale
test ! -d ./build/share/doc/omedit/ || mkdir -p /tmp/SBo/package/usr/share/doc//omedit/
mkdir -p ..//build/lib/python/omniORB
mkdir -p ..//build/share/omc/scripts/PythonInterface/OMPython/OMParser
omniidl -bpython -Wbglobal=_OMCIDL -Wbpackage=OMPythonIDL ..//Compiler/runtime/omc_communication.idl
test ! -d ./build/share//omnotebook/ || mkdir -p /tmp/SBo/package/usr/share//omnotebook/
test ! -d ./build/share//omshell/nls/ || mkdir -p /tmp/SBo/package/usr/share//omshell/nls/
test ! -d ./build/share//omedit/nls/ || mkdir -p /tmp/SBo/package/usr/share//omedit/nls/
mkdir -p /tmp/SBo/package/usr/share//omc/scripts /tmp/SBo/package/usr/share/omc/java
omniidl: Could not import back-end 'python'
omniidl: Maybe you need to use the -p option?
omniidl: (The error was 'No module named python')
make[1]: *** [OMPythonIDL/omc_communication_idl.py] Error 1
make[1]: Leaving directory `/home/anand/Downloads/openmodelica/openmodelica_22761/PythonInterface'
real 0m0.027s
user 0m0.020s
sys 0m0.003s
make: *** [install-python] Error 2
Any solutiions?
Anand
Hello,
One more trial of compiling. Here are the log files:
I did ./configure --prefix=/usr --disable-omshell-terminal --with-omniORB --disable-modelica3d --without-paradiseo --disable-rml-trace --with-lapack="-llapack -lblas"
Then,
make -j2 NOLIBRARIES=Yes release mosh omlibrary qtclients > out-4.log 2>&1
After make stops build/bin does not contain any files !!
What is going on?
Anand
Hello,
Again failed to build even --without-paradiseo. Here are the logs.
Anand
Hello,
Which version of paradiseo should I use?
Anand
Hello,
Even SVN Version 22729 failed to build with the error messages shown below.
Should I disable RML-MMC?
Anand
Hello,
Please see the log files here:
Anand
How do I log the messages generated by make?
Hello,
This is the error message:
ar -s -r libomcruntime.a Error_omc.o Print_omc.o System_omc.o Settings_omc.o IOStreamExt_omc.o ErrorMessage.o FMI_omc.o systemimplmisc.o UnitParserExt_omc.o unitparser.o BackendDAEEXT_omc.o Socket_omc.o matching.o matching_cheap.o Database_omc.o Dynload_omc.o SimulationResults_omc.o TaskGraphResults_omc.o HpcOmSchedulerExt_omc.o HpcOmBenchmarkExt_omc.o ptolemyio_omc.o Lapack_omc.o getMemorySize.o GraphStreamExt_omc.o omc_communication.o omc_communication_impl.o Corba_omc.o
ar: creating libomcruntime.a
cp libomcruntime.a ../../build/lib/omc/
make[4]: Leaving directory `/home/anand/Downloads/openmodelica/openmodelica_22725/Compiler/runtime'
make[3]: Leaving directory `/home/anand/Downloads/openmodelica/openmodelica_22725/Compiler/omc_release'
make[2]: Leaving directory `/home/anand/Downloads/openmodelica/openmodelica_22725/Compiler/omc_release'
make[1]: Leaving directory `/home/anand/Downloads/openmodelica/openmodelica_22725'
make: *** [all] Error 2
This is the config.log:
I did make -j4 while building.
Anand
Hello,
I have been struggling to build the SVN-22725 version on Slackware Current. I have all the dependencies installed as per instructions given in README.Linux.txt. This is my configure line:
./configure --prefix=/usr --disable-omshell-terminal --with-omniORB --disable-modelica3d
After this I am giving the command
make
Build runs for some time and stops after about nearly one and half hour with error message.
Please suggest the correct method to configure and make and also all the dependencies which are essential to build. This would help a lot to make pre-compiled package of OpenModelica for Slackware.
Thanks for your help.
Anand
Hello,
Can you please provide .tar.gz or .tar.bz2 file of the svn version of the source? Or is there already a link to it for downloading?
Anand
So, is it recommended to use ./configure --without-rml?
Anand
Hello,
What functionalities will be provided by rml-mmc in OpenModelica? What are the disadvantages of building OpenModelica with the configure option --without-rml?
Thanks for your information.
Anand
Hello,
Does OpenModelica have same capabilities as Xcos? Is there any comparative study?
Thank you for your help.
Anand
Hello,
Do you suggest recompiling readline with some modified switches as it is in Debian?
Anand
Hello,
I have attached config.log file here.
Anand
link /usr/lib/libreadline.so to /usr/lib/libreadline.so.5.2 is already present.
Anand
Hello,
I am trying to run nightly builds on Slackware Current machine.
Anand
Hello,
Please explain how to install nightly builds. Are they self-contained or do they need any dependencies to be installed?
Anand
Hello,
I have
/usr/lib/libreadline.so.5.2
/usr/lib/libreadline.a
/usr/lib/libhistory.so.5.2
/usr/lib/libhistory.so.a
Anand
The Slackware system on which I am trying to build OpenModelica has readline-5.2. It has all header files located in /usr/include/readline.
It also has /usr/include/readline/history.h file.
As you can notice in the messages output by configure, it is even detecting /usr/include/readline/history.h file. But later it is reporting that readline is not found.
Anand
Hello,
I am trying to create a pre-built package of OpenModelica on Slackware Current. After getting the source from SVN if I try to configure I get this error message:
checking for antlr.Tool support... ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005
yes
checking if the user wants to compile OMShell-terminal... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for library containing readline... no
configure: error: readline missing
I am sure that readline is installed. Any solutions?
Thanks in advance.
Anand
- Index
- » Users
- » rsamurti
- » Profile