- комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- Re: комиляция mod_chm проблема с apxs2
- APXS shows up in global Linux Terminal but not Pycharm
- How to install apxs module on apache 2.4.6
- 5 Answers 5
- Not the answer you’re looking for? Browse other questions tagged linux apache ubuntu apache2 or ask your own question.
- Linked
- Related
- Hot Network Questions
- Subscribe to RSS
- apxs, apxs2 is nowhere to be found in Debian
- 2 Answers 2
- What is inode number in Linux ?
- What is inode number in Linux
- Check Inodes on Filesystem
- Find Inode number of File
- Inode Changes with Copy, Move and Delete
- Free Inodes on Filesystem
комиляция mod_chm проблема с apxs2
пытаюсь скомпилить mod_chm
[haba mod_chm]# ./configure —with-apxs2=/usr/sbin/apxs
checking for gcc. gcc
checking for C compiler default output file name. a.out
checking whether the C compiler works. yes
checking whether we are cross compiling. no
checking for suffix of executables.
checking for suffix of object files. o
checking whether we are using the GNU C compiler. yes
checking whether gcc accepts -g. yes
checking for gcc option to accept ANSI C. none needed
checking for apxs2. no
configure: error: apxs2 could not be found.
система fedora 4
httpd-devel установлен
Re: комиляция mod_chm проблема с apxs2
Re: комиляция mod_chm проблема с apxs2
Re: комиляция mod_chm проблема с apxs2
У тебя первый апач.
Re: комиляция mod_chm проблема с apxs2
апач у меня второй
[haba
]$ httpd -v
Server version: Apache/2.0.54To install:
Server built: Jan 17 2006 06:36:00
в README к mod_chm написано
To install:
./configure —with-apxs2=/path/to/dir/with/apxs2
make
make install
Re: комиляция mod_chm проблема с apxs2
для установки apache(httpd и httpd-devel) пользовался yum репозиториями
Re: комиляция mod_chm проблема с apxs2
выдается такаяже ошибка
Re: комиляция mod_chm проблема с apxs2
Значит apxs от первого апача.
Он написан на перле. У тебя перл установлен?
Re: комиляция mod_chm проблема с apxs2
>Значит apxs от первого апача.
ну это достаточно странно
httpd и httpd-devel из одного дистибутива (и yum ставит самую последнюю версию)
apxs появился после установки httpd-devel
>Он написан на перле. У тебя перл установлен?
perl стоит
Re: комиляция mod_chm проблема с apxs2
apxs тоже работает
[haba
]$ apxs
Usage: apxs -g [-S = ] -n
apxs -q [-S = ] .
apxs -c [-S = ] [-o ] [-D [= ]]
[-I ] [-L
[-Wl, ] [-p] .
apxs -i [-S = ] [-a] [-A] [-n ] .
apxs -e [-S = ] [-a] [-A] [-n ] .
Источник
APXS shows up in global Linux Terminal but not Pycharm
Currently moving all of my Pycharm Projects to Linux (Debian-based distro) and had a mod_wsgi dependency in one of my projects. So I get the following error.
RuntimeError: The ‘apxs’ command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.
Ok, no problem, so I install apache.
sudo apt install apache2-dev
Testing in the global terminal, apxs appears.
$ apxs Usage: apxs -g [-S =] -n apxs -q [-v] [-S =] [ . ] apxs -c [-S =] [-o ] [-D [=]] [-I ] [-L ] [-l ] [-Wc,] [-Wl,] [-p] . apxs -i [-S =] [-a] [-A] [-n ] . apxs -e [-S =] [-a] [-A] [-n ] .
So I restart the machine, reopen Pycharm, and try installing the requirements again.
pip install -r requirements.txt
Next I proceeed to type ‘apxs’ in the Pycharm terminal:
(venv) apxs sh: apxs: command not found
Strange, so then I check $PATH in Pycharm:
(venv) echo $PATH /home/tony/PycharmProjects/FirstDjangoProject/venv/bin:/app/bin:/usr/bin
So, /usr/bin is where apxs is installed on the global terminal, but it isn’t recognized in pycharm. Strange. I then go take a peek in the /usr/bin dir
(venv) ls /usr/bin/ | grep apxs (venv)
Strange. So certain files that show up in the global terminal (This applies with sudo as well) don’t show up in the Pycharm terminal. Anyone know how to work around this?
Источник
How to install apxs module on apache 2.4.6
I have just used apt-get update and my apache has been updated to 2.4.6 .
i want to install apxs for compiling modules and i get this error
How can i fix that
5 Answers 5
to install apxs on ubuntu, install the apache2-dev package.
To install apxs on Oracle Linux run:
yum install httpd-devel
You cannot install httpd-devel on cpanel. You will need to install ea-apache24-devel
In Ubuntu, when setting up Apache2 + PHP, apxs is actually not needed anymore.
You should install libapache2-mod-php instead.
sudo apt install apache2
sudo apt install libapache2-mod-php
APC is currently not compatible with the version. Try adding native opcode cache in it.
Not the answer you’re looking for? Browse other questions tagged linux apache ubuntu apache2 or ask your own question.
Linked
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.10.8.40416
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Источник
apxs, apxs2 is nowhere to be found in Debian
I was told i have to apt-get install apache2-dev but i get:
And that’s it. When issuing dpkg -l | grep apache i get:
So it’s not installed. My problem is that i don’t have a apxs2 file and i’m pretty desperate at this moment. Can i just copy it to my apache_dir/sbin from another node?
After «Reading Changelog.. Done» the shell doesn’t go back, i’m propmpt with a text:
So i just hit Ctrl-C and go back to the shell.
2 Answers 2
You Ctrl-C’d apt-get, aborting the install.
When apt-get shows changelogs, it shows them using less (or whatever other pager you may have set — the default is less). If it’s less that’s running, just hit q to continue. Hitting Ctrl-C kills less, but it also kills apt-get.
First, it looks like your system cannot install packages. So you may need to look into that further. If your system is a low memory VPS, it is possible that you’ve run out of memory.
I haven’t really seen apt terminate without any diagnostics before, but it seems to me that that is what’s happening.
However, for your immediate problem, you can try to move apxs2 from another box. First thing to do would be to use ldd /usr/bin/apxs2 on a system that has apache2-dev installed. This command will give you a list of dynamic libraries that the binary needs. You can check if these libraries exist on your target system, and just copy the missing ones across as well. You can put them in /usr/local/lib , or modify LD_LIBRARY_PATH and keep them local. I wouldn’t recommend copying the libraries to /lib or /usr/lib , though. That would cause headaches in the long run. This is not really a solution, but it may help in the short term.
Источник
What is inode number in Linux ?
A Linux consider everything a file including hardware devices, printers, directories, and processes. Any text, music, video, image or any multimedia file is considered a regular file. All the regular file contains metadata about the file which describe everything about the file like, type, Inode etc.
An inode is an entry in Inode table, containing information (the metadata) about a regular file and directory. An inode is a data structure on a traditional Unix-style file system such as Ext3 or Ext4.
What is inode number in Linux
Inode number also called index number, it consists following attributes of any file:
- File types ( executable, block special etc )
- Permissions ( read, write etc )
- UID ( Owner )
- GID ( Group )
- FileSize
- Time stamps including last access, last modification and last inode number change.
- File deletion time
- Number of links ( soft/hard )
- Location of ile on harddisk.
- Some other metadata about file.
Check Inodes on Filesystem
You can find a total number of inodes on disk by using ‘-i‘ option with df command.
The below command shows the total number of Inodes on the file system, uses and free inodes details. In case of inodes full on any filesystem, you can’t create a new file on disk even you have enough free space. So each file system must have free disk and inodes to create file.
Find Inode number of File
To check inode number of file use following command. The first field in output is an inode number of the file.
You can also search file with an inode number using find command. For example:
Inode Changes with Copy, Move and Delete
What happens with inode number when copy, move or delete a file on the filesystem.
Copy file: cp allocates a free inode number and placing a new entry in inode table.
Move or Rename a file: if destination is same filesystem as the source, Has no impact on inode number, it only changes the time stamps in inode table.
Delete a file: Deleting a file in Linux decrements the link count and freeing the inode number to be reused.
Free Inodes on Filesystem
In the case of inodes are full. You need to remove unused files from the filesystem to make Inode free. There is no option to increase/decrease inodes on disk. It only created during the creation of filesystem on any disk.
Источник