Install from sources on ubuntu-linux

2,087 views
Skip to first unread message

jonslo

unread,
May 29, 2017, 12:11:18 PM5/29/17
to Biogeme
Hi

Trying to install from sources on a linux server, but getting this error when I run the make -j 8 install! Any help?

pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include "-D__DATADIR=\"/usr/local/share/biogeme\""  -std=c++11 -O3 -g -O2 -c -o bioFilePackage.o bioFilePackage.cc
bioFilePackage.cc: In member function ‘void bioFilePackage::openFile(std::size_t)’:
bioFilePackage.cc:33:62: error: ‘gtk_show_uri_on_window’ was not declared in this scope
   gtk_show_uri_on_window(NULL,uri.c_str(),GDK_CURRENT_TIME,&g) ;
                                                              ^
Makefile:628: recipe for target 'bioFilePackage.o' failed
make[1]: *** [bioFilePackage.o] Error 1
make[1]: Leaving directory '/media/mcrops/09e8b692-665e-464e-9d90-0a8d4cba4e25/mcrops/core_tools/biogeme-2.6a/gtkgui'
Makefile:450: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1



jonslo

unread,
May 29, 2017, 5:32:04 PM5/29/17
to Biogeme
Already asked and solved! Apologies for the re-post!!

Cristian Domarchi

unread,
Jun 5, 2017, 5:15:33 AM6/5/17
to Biogeme
Hi

I am experiencing exactly the same issue. Would you care to share how did you solve it?

Thanks in advance,

CDG

michel.b...@epfl.ch

unread,
Jun 5, 2017, 6:49:23 AM6/5/17
to bio...@googlegroups.com
It may happen with incompatible versions of gtkmm. Buold biogeme without the GUI: 
./configure --disable-gui

Cristian Domarchi

unread,
Jun 6, 2017, 2:16:24 AM6/6/17
to Biogeme
That was exactly the problem, I was able to install it properly with that correction.

Thank you very much! :)

CDG

Michel Bierlaire

unread,
Nov 13, 2017, 10:39:30 AM11/13/17
to amin moeinaddini, Michel Bierlaire, Biogeme
It seems that you do not have the rights to install in the directory /usr/local/share/biogeme-2.5
Either change the target of the installation, or install it using “su”. 


On 13 Nov 2017, at 16:35, amin moeinaddini <a.moei...@gmail.com> wrote:

Hi Dear,

I've used "./configure --disable-gui" but i cant install it properly. The following error occurred.

Regards,
 
make[3]: Entering directory '/home/ma/libraries/pythonbiogeme'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ma/libraries/pythonbiogeme'
make[2]: Leaving directory '/home/ma/libraries/pythonbiogeme'
make[1]: Leaving directory '/home/ma/libraries/pythonbiogeme'
Making install in tools/histograms
make[1]: Entering directory '/home/ma/tools/histograms'
make[2]: Entering directory '/home/ma/tools/histograms'
 /bin/mkdir -p '/usr/local/bin'
 /bin/mkdir -p '/usr/local/share/biogeme-2.5'
 /usr/bin/install -c -m 644 histogram.py generateHistogram.py generateWeightedHistogram.py '/usr/local/share/biogeme-2.5'
/usr/bin/install: cannot remove '/usr/local/share/biogeme-2.5/histogram.py': Permission denied
/usr/bin/install: cannot remove '/usr/local/share/biogeme-2.5/generateHistogram.py': Permission denied
/usr/bin/install: cannot remove '/usr/local/share/biogeme-2.5/generateWeightedHistogram.py': Permission denied
Makefile:389: recipe for target 'install-dist_pkgdatDATA' failed
make[2]: *** [install-dist_pkgdatDATA] Error 1
make[2]: *** Waiting for unfinished jobs....
 /usr/bin/install -c weightedhistogram histogram '/usr/local/bin'
/usr/bin/install: cannot remove '/usr/local/bin/weightedhistogram': Permission denied
/usr/bin/install: cannot remove '/usr/local/bin/histogram': Permission denied
Makefile:348: recipe for target 'install-binSCRIPTS' failed
make[2]: *** [install-binSCRIPTS] Error 1
make[2]: Leaving directory '/home/ma/tools/histograms'
Makefile:459: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/ma/tools/histograms'
Makefile:446: recipe for target 'install-recursive' failed



در دوشنبه 5 ژوئن 2017، ساعت 6:49:23 (UTC-4)، michel.b...@epfl.ch نوشته:

Felipe Gonzalez

unread,
Dec 7, 2017, 2:14:39 AM12/7/17
to Biogeme
Dear Michel,

I am trying to install biogeme in a server in which I do not have admin rights. I am calling this configure order:

./configure --prefix=/home/fagonza1/packages/biogeme --without-opopt --disable-gui


I have the following problem when trying to compile via the make command:

make[3]: Warning: File `Makefile' has modification time 5.5e+02 s in the future

/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..    -std=c++11 -O3 -g -O2 -c -o libutils_la-patAbsTime.lo `test -f 'patAbsTime.cc' || echo './'`patAbsTime.cc

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++11 -O3 -g -O2 -c patAbsTime.cc  -fPIC -DPIC -o .libs/libutils_la-patAbsTime.o

cc1plus: error: unrecognized command line option "-std=c++11"


I tried to google about it and seems to be a problem in my compiler. I imagine that it cannot find c++ version 11, but I do not really know if it is that neither how to fix it.

If you could help I would really appreciate it.
Best wishes,


El lunes, 29 de mayo de 2017, 12:11:18 (UTC-4), jonslo escribió:

Michel Bierlaire

unread,
Dec 7, 2017, 2:21:53 AM12/7/17
to fagon...@uc.cl, Michel Bierlaire, Biogeme
The option  -std=c++11 should be replaced by -std=gnu++11. We discovered that after the release of this version. 

Try 

./configure --prefix=/home/fagonza1/packages/biogeme --without-opopt --disable-gui CXXFLAGS=-std=gnu++11





--
You received this message because you are subscribed to the Google Groups "Biogeme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
To post to this group, send email to bio...@googlegroups.com.
Visit this group at https://groups.google.com/group/biogeme.
For more options, visit https://groups.google.com/d/optout.

Palaniappan S

unread,
Feb 13, 2018, 10:39:12 AM2/13/18
to Biogeme
Hi,Im using ubuntu 16.04.Can you please explain how to install biogeme from step 1?
Would be helpful if you can forward the latest source to download from.

This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail or phone and delete it from their system without making any copies or disclosing it to a third person. BRIDGEi2i Analytics Solutions reserves the right to store, monitor and review the content of all messages sent to or from this email address.

Bierlaire Michel

unread,
Feb 13, 2018, 10:45:38 AM2/13/18
to palani...@bridgei2i.com, Bierlaire Michel, Biogeme
The source is here http://biogeme.epfl.ch/distrib/biogeme-2.6a.tar.gz
You need to make sure that the configure went well before proceeding with the make. 


Palaniappan S

unread,
Feb 14, 2018, 5:34:13 AM2/14/18
to Bierlaire Michel, Biogeme
That was helpful.Thank you so much!

To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+unsubscribe@googlegroups.com.

To post to this group, send email to bio...@googlegroups.com.
Visit this group at https://groups.google.com/group/biogeme.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages