Unable to install Calchep

Asked by Basabendu

Dear Experts,

I am trying to install the Calchep-3.8.10 in my machine with ubuntu 22.04 LTS. I have libx11-dev installed, inspite of which it is showing me blind mode installation. I have done 'make clean' and then 'make' but everytims it is showing me the following message:

"You have empty LX11 parameter that means that
calchep will be compiled for Blind job only."

I am unable to resolve this issue. Kindly help.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Pukhov
Solved:
Last query:
Last reply:
Revision history for this message
Basabendu (bb1988-1) said :
#1

just to add, I checked with a super old version: 3.4.3 and I see the following message which prevents me from showing the interface (although it does not complain about the X11)

make[1]: *** [Makefile:29: ../../bin/lhe2tab] Error 1
make[1]: Leaving directory '/home/basabendu/hep_tools/calchep_3.4.3/c_source/tab'
make: *** [Makefile:37: COMPILE] Error 2

Thank you.

Revision history for this message
Alexander Pukhov (pukhov) said :
#2

Do you have libX11.so    or   libX11.so.6  file in your computer?

Expected disposition /usr/lib64/libX11.so

Best

     Alexander Pukhov

8/26/22 10:45, Basabendu пишет:
> New question #702937 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/702937
>
> Dear Experts,
>
> I am trying to install the Calchep-3.8.10 in my machine with ubuntu 22.04 LTS. I have libx11-dev installed, inspite of which it is showing me blind mode installation. I have done 'make clean' and then 'make' but everytims it is showing me the following message:
>
> "You have empty LX11 parameter that means that
> calchep will be compiled for Blind job only."
>
> I am unable to resolve this issue. Kindly help.
>
> Thank you.
>

Revision history for this message
Basabendu (bb1988-1) said :
#3

No, /usr/lib64 does not show the presence of libX11.

Revision history for this message
Alexander Pukhov (pukhov) said :
#4

But

   ls  /usr/*/libX11.so.*

Best

    Alexander Pukhov

8/26/22 13:41, Basabendu пишет:
> Question #702937 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/702937
>
> Basabendu posted a new comment:
> No, /usr/lib64 does not show the presence of libX11.
>

Revision history for this message
Basabendu (bb1988-1) said :
#5

I see folowing:

ls /usr/

---> bin/ games/ include/ lib/ lib32/ lib64/ libexec/ libx32/ local/ sbin/ share/ src/

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#6

Hello,
could you please tell us, how did you install libx11-dev on your 22.04 LTS?

Did you follow the instructions at
https://installati.one/ubuntu/22.04/libx11-dev/

Once libx11-dev is installed you should be able to locate Xlib.h

just type

locate Xlib.h

and tell us where Xlib.h is located.

Looking forward to your reply.

Regards
Alexander

Revision history for this message
Basabendu (bb1988-1) said :
#7

Hi,

I have already installed libx11-dev, as I can see the following message:

'libx11-dev is already the newest version (2:1.7.5-1).'

The locate command shows following:

'/usr/include/X11/Xlib.h'

Revision history for this message
Alexander Pukhov (pukhov) said :
#8

Yes,  CalcHEP can  not find file  libX11.so.*

Please, check its existence on your computer

ls /usr/*/libX11.so.*

Best

     Alexander Pukhov

8/27/22 18:35, Basabendu пишет:
> Question #702937 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/702937
>
> Basabendu posted a new comment:
> Hi,
>
> I have already installed libx11-dev, as I can see the following message:
>
> 'libx11-dev is already the newest version (2:1.7.5-1).'
>
> The locate command shows following:
>
> '/usr/include/X11/Xlib.h'
>

Revision history for this message
Alexander Pukhov (pukhov) said :
#9

Please check

|/usr/lib/x86_64-linux-gnu/libX11.so.*|

|ibx11-dev   has to put it in this place:
https://askubuntu.com/questions/694681/installing-libx11-a-libx11-so-and-xlib-h|

|Best
|

|   Alexander Pukhov|

8/27/22 18:35, Basabendu пишет:
> Question #702937 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/702937
>
> Basabendu posted a new comment:
> Hi,
>
> I have already installed libx11-dev, as I can see the following message:
>
> 'libx11-dev is already the newest version (2:1.7.5-1).'
>
> The locate command shows following:
>
> '/usr/include/X11/Xlib.h'
>

Revision history for this message
Alexander Pukhov (pukhov) said :
#10

Please check

|/usr/lib/x86_64-linux-gnu/libX11.so.*|

|ibx11-dev   has to put it in this place:
https://askubuntu.com/questions/694681/installing-libx11-a-libx11-so-and-xlib-h|

|Best
|

|   Alexander Pukhov|

8/27/22 18:35, Basabendu пишет:
> Question #702937 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/702937
>
> Basabendu posted a new comment:
> Hi,
>
> I have already installed libx11-dev, as I can see the following message:
>
> 'libx11-dev is already the newest version (2:1.7.5-1).'
>
> The locate command shows following:
>
> '/usr/include/X11/Xlib.h'
>

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#11

Thanks,

please also type

locate libX11.so

and let us know the output of this command

Thank you
Alexander

Revision history for this message
Basabendu (bb1988-1) said :
#12

Hi,

locate libX11.so provides following:

/snap/gnome-3-38-2004/112/usr/lib/x86_64-linux-gnu/libX11.so
/snap/gnome-3-38-2004/112/usr/lib/x86_64-linux-gnu/libX11.so.6
/snap/gnome-3-38-2004/112/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
/snap/snap-store/582/usr/lib/x86_64-linux-gnu/libX11.so.6
/snap/snap-store/582/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
/usr/lib/i386-linux-gnu/libX11.so.6
/usr/lib/i386-linux-gnu/libX11.so.6.4.0
/usr/lib/x86_64-linux-gnu/libX11.so
/usr/lib/x86_64-linux-gnu/libX11.so.6
/usr/lib/x86_64-linux-gnu/libX11.so.6.4.0

/usr/lib/x86_64-linux-gnu/lib shows no libX11.so

Revision history for this message
Best Alexander Pukhov (pukhov) said :
#13

So,  find in file

      CALCHEP/FlagsForSh

# Disposition of lX11
LX11=""

and replace it on

LX11=" -L   /usr/lib/x86_64-linux-gnu  -lX11"

File FlagsForSh  appears in result of make and is removed by "make
clean".  So, if file is absent, then call make, improve file and call
make once more.

Let me know if you still have a problem.

Best

     Alexander Pukhov

8/28/22 07:35, Basabendu пишет:
> Question #702937 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/702937
>
> Basabendu posted a new comment:
> Hi,
>
> locate libX11.so provides following:
>
> /snap/gnome-3-38-2004/112/usr/lib/x86_64-linux-gnu/libX11.so
> /snap/gnome-3-38-2004/112/usr/lib/x86_64-linux-gnu/libX11.so.6
> /snap/gnome-3-38-2004/112/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
> /snap/snap-store/582/usr/lib/x86_64-linux-gnu/libX11.so.6
> /snap/snap-store/582/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
> /usr/lib/i386-linux-gnu/libX11.so.6
> /usr/lib/i386-linux-gnu/libX11.so.6.4.0
> /usr/lib/x86_64-linux-gnu/libX11.so
> /usr/lib/x86_64-linux-gnu/libX11.so.6
> /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0
>
>
> /usr/lib/x86_64-linux-gnu/lib shows no libX11.so
>

Revision history for this message
Basabendu (bb1988-1) said :
#14

Thanks Alexander Pukhov, that solved my question.