- ./configure нет такого файла или каталога, даже после установки основы сборки
- 4 ответа
- Не работает команда ./configure
- А потом говорят что пользователи убунту-дебилы
- ./configure нет такого файла или каталога, даже после установки основы сборки
- 4 ответа
- ./configure no such file or directory even after installing build essentials
- 4 Answers 4
- Guide to linux configuration files
- Contents
- /etc — the basics
- Users and Groups
- Users: /etc/passwd
- Groups: /etc/group
- Boot Up Settings
- Package Managers
- portage
- Paludis
- pacman
- Smart Package Manager
- Libraries
- Environment Variables
- Networking
- Servers
- System
- Setting System/Hardware Clock
- Hard/USB/floppy/CDROM/Network Drive Mounts
- Locale
- locate/slocate/mlocate
- Kernel
- Kernel Modules
- mdadm (RAID)
- mkinitcpio (RAM disk init)
- syslog
- logrotate
- Applications
- Shells
- zshell (zsh)
./configure нет такого файла или каталога, даже после установки основы сборки
Я пытаюсь установить Java SE 7 на мою Ubuntu 13.04.
Я уже скачал файл tar.gz и распаковал его.
Но когда я написал в терминале:
Я видел это сообщение
Я вижу это даже после установки пакета buildtials.
4 ответа
Команда./configure запускается только при сборке определенных приложений из исходного кода.
Загруженные установочные файлы Java — это не исходный код, а предварительно скомпилированные двоичные файлы. Для получения инструкций по установке Java взгляните на страницу в Ubuntu Wiki, так как здесь есть несколько разных опций.
Я рекомендую использовать опцию под названием «Использование поразительно простого метода webupd8.org». поскольку он будет интегрировать установку Java с вашей системой управления пакетами и автоматически поддерживать ее в актуальном состоянии вместе с остальной частью вашей системы.
Это случилось со мной при установке контроллера домена samba, и вы можете загрузить пакет, подобный мне, как показано ниже: (Команды относятся к установке samba!!)
и вы в папке сказать (например: папка1) и когда вы печатаете
(Например: ./configure —enable-debug —enable-selftest )
это выдает ошибку
bash: ./configure: нет такого файла или каталога
Так что здесь я должен был пойти внутри папки Samba в папке 1
/ home / ubuntu / folder1 / samba # Я знаю, что ответ очень поздний, но это может помочь:)
У меня тоже была эта проблема. Короткий ответ: вы должны напечатать ./configure —prefix=/your/chosen/directory когда внутри распакован .tar.gz каталог файлов. Вот где configure файл есть.
преамбула
Причина, по которой вы получаете «bash: ./configure: Нет такого файла или каталога», заключается в том, что вы находитесь не в том каталоге, где находится загружаемый файл, который вы собираетесь установить.
Чтобы исправить это
(а) СЛЕДУЮЩАЯ ИНСТРУКЦИЯ README
- Найдите, где ваш загруженный файл Java tar.gz.
- Извлеките файл, щелкнув по нему правой кнопкой мыши и выбрав «Извлечь здесь».
- Найдите файл «Readme text» и откройте его.
- Следуйте инструкциям по установке файла в тексте Readme (установка файла tar.gz может отличаться от обычных команд, используемых для установки файлов в Ubuntu).
(б) ИСПОЛЬЗОВАНИЕ ОБЩИХ КОМАНД
- Откройте терминал, нажав CTRL + ALT + T.
- Введите tar -zxvf.tar.gz.
- Введите sudo su и введите свой пароль root.
- введите cd и добавьте путь к загруженному файлу. Если вы не знаете путь к загруженному файлу, введите ls -a, чтобы вывести список всех каталогов и найти каталог с файлами.
- Введите ./configure и нажмите клавишу ВВОД
- Введите make и нажмите клавишу ВВОД.
- Введите make install и нажмите клавишу ВВОД.
(c) ИСПОЛЬЗОВАНИЕ ПРОГРАММНОГО ЦЕНТРА UBUNTU
Открытый Ubuntu Software Center
Введите Java в поиске
Найдите Java SE 7 и нажмите «Установить», чтобы установить его.
Источник
Не работает команда ./configure
В общем такой команды (./configure ) вообще не существует (у меня стоит Ubuntu 10.4), так вот в help она не описывается, а в способах установке (в справке) метода установки из исходников вообще нет. (есть только описание способа установки из репозиториев и из пакетов)!
дожили!
configure — это скрипт. и лежит он в исходниках
а ./configure — это запуск этого скрипта, при условии что ты прям сейчас находишься в той же дире, что и этот скрипт
Зачем тебе что-то ставить из исходников, если ты не понимаешь что ты делаешь?
1) Что собрался устанавливать? Может лучше поставить из репозиториев?
2) Команда ./configure выполняется в каталоге, где лежат исходники программы, которую собрался устанавливать.
>вы знаете или нет почему у меня на убунту 9.10 всё работало, а на убунту 10.4 не работает.
я знаю!
деградируете, да!
прежде чем что-то делать, надо почитать что это, с чем его едят, и КАК едят!
Спасибо за ссылки, НО, я не пытаюсь быть пользователем убунту, я пытаюсь понимать что к чему, и мне (как сказал Галыгин) Срааать :). Что ставить.
ты пытаешься быть дураком. Выше тебе объяснили как правильно, а ты все равно хочешь через жопу. Таким способом ты ничего не поймешь, уж поверь
А зачем? LFS собираешь? Под Slackware пакеты?
Блин единственный нормальный пользователь, это aydar, а остальные . я промолчу.
жесть. вот вам популярность линукса на десктопе.
А потом говорят что пользователи убунту-дебилы
Поробуй хоть немного почитать по теме вопроса.хотя бы поиском пользоваться научись.на том же убунтуфоруме.
>Спасибо за ссылки, НО, я не пытаюсь быть пользователем убунту, я пытаюсь понимать что к чему, и мне (как сказал Галыгин) Срааать :). Что ставить.
Под виндой можешь попробовать (тогда на винфак, там мозги поделай и назначь норммального пользователя), удачи 🙂
Выпендрёжники. И на хрена тогда форум. Чтоб вот так вот посылать. Форум для того чтоб если у человека что то не получилось, этому человеку всё разъяснить.
Ну, во-первых: установка из исходников через make install засоряет систему неучтёнными менеджером пакетов файлами. Если захочется их удалить, а источника уже не будет, будешь делать всё руками
Во-вторых, судя по «В общем такой команды (./configure ) вообще не существует» Вы не знаете вообще азов — что такое рабочий каталог, поэтому за установку из исходников лучше Вам пока не браться
Asteronix дело написал. Если ты новичок и тебе говорят «тебе это не под силу», надо задуматься, а не строить из себя.
>Форум для того чтоб если у человека что то не получилось, этому человеку всё разъяснить.
в первом же камменте ответ — что ещё не хватать?
Форум нужен для разрешения нестандартных проблем
Источник
./configure нет такого файла или каталога, даже после установки основы сборки
Расширение брекета позволяет использовать очень компактные команды.
/var/www/html/bootstrap /var/www/html/storage /var/www/html/public
Ваши команды могут быть выражены как.
[ f3] sudo chmod -R ug+rwx /var/www/html/
4 ответа
У меня тоже была эта проблема. Краткий ответ: вы должны ввести ./configure —prefix=/your/chosen/directory , находясь внутри распакованного каталога файлов .tar.gz . Вот где находится файл configure .
Преамбула
Причина, по которой вы получаете «bash: ./configure: Нет такого файла или каталога», заключается в том, что вы находитесь не в правильном каталоге, в котором вы скачали файл. собираются установить находится.
Чтобы исправить это
(a.) СЛЕДУЮЩУЮ ИНСТРУКЦИЮ README
- Найдите, где вы скачали файл Java tar.gz.
- Извлеките файл, щелкнув по нему правой кнопкой мыши и выбрав «Извлечь здесь».
- Найдите файл «Readme text» и откройте его.
- Следуйте инструкциям по установке файла в тексте Readme (установка файла tar.gz может отличаться от обычных команд, используемых для установки файлов в Ubuntu).
(б) ИСПОЛЬЗОВАНИЕ ОБЩИХ КОМАНД
- Откройте терминал, нажав CTRL + ALT + T .
- Введите tar -zxvf .tar.gz .
- Введите sudo su и введите свой корневой пароль.
- введите cd и добавьте путь к загруженному файлу . Если вы не знаете путь к загруженному файлу, введите ls -a , чтобы вывести список всех каталогов и найти каталог вашего файла.
- Введите ./ configure и нажмите клавишу ENTER
- Введите make и нажмите клавишу ENTER.
- Введите , выполните установку и нажмите клавишу ENTER.
(c) ИСПОЛЬЗОВАНИЕ ПРОГРАММНОГО ЦЕНТРА UBUNTU
Открытый центр программного обеспечения Ubuntu
Введите java в поиске
Найдите Java SE 7 и нажмите «Установить», чтобы установить его.
Источник
./configure no such file or directory even after installing build essentials
I’m trying to install Java SE 7 on my ubuntu 13.04.
I have already downloaded tar.gz file and extracted.
But when I wrote in terminal:
I saw this message
I see it even after installing build essentials package.
4 Answers 4
You only run the ./configure command when building certain applications from source.
The Java installation files that you have downloaded aren’t source code they are precompiled binaries. For instructions on how to install Java take a look at the page on the Ubuntu Wiki as this has several different options.
I recomend using the option titled ‘Using webupd8.org’s strikingly simple method.’ as it will integrate the installation of Java with your package manaement system and automatically keep it up to date along with the rerst of your system.
Preamble
The reason why you are getting the «bash: ./configure: No such file or directory» is because you are not in the right directory where the downloaded file you are about to install is located.
To fix that
(a.) FOLLOWING README INSTRUCTION
- Locate where your downloaded Java tar.gz file.
- Extract the file by right-clicking on it and select ‘Extract Here’.
- Look for the ‘Readme text’ file and open it.
- Follow the instruction on how to install the file in the Readme text(installation of tar.gz file can be different from normal commands used to do installation of files in Ubuntu).
(b.) USING GENERAL COMMANDS
- Open the terminal by pressing CTRL + ALT +T.
- Type tar -zxvf .tar.gz .
- Type sudo su and enter your root password.
- type cd and add the path of your downloaded file . If you do not know the path of the downloaded file type ls -a to list all the directories and locate your file directory.
- Type ./configure and press ENTER key
- Type make and press ENTER key.
- Type make install and press ENTER key.
(c) USING THE UBUNTU SOFTWARE CENTER
Open Ubuntu Software Center
Type java in the search
Look for Java SE 7 and click ‘install’ to install it.
Источник
Guide to linux configuration files
This guide will show where various linux configuration files are located, shows howto configure them.
In many cases are global config files, and local config files.
- Global config files
- Apply to all users
- Usually located in /etc
- Local config files
- Applies to a specific user
- Stored in the users home dir, as
Locations of config files change name and location over time and different Linux Distributions, so the files listed here may not match your Linux installation, but the are generally close.
For example
- bashrc may be located in /etc/bash/bashrc or /etc/bashrc
- kdmrc may be located in /usr/share/config/kdm/kdmrc, /usr/local/share/config/kdm/kdmrc, or /opt/kde/share/config/kdm/kdmrc
Contents
/etc — the basics
- /etc/DIR_COLORS — colors use by the «ls» command
- /etc/X11/ — config files for X-Windows
- /etc/adjtime — correction factor for the RTC (do not edit)
- /etc/bash/ — config files for bash
- /etc/conf.d/ — config dir for Gentoo and other Distributions
- /etc/cron.d/
- /etc/cron.daily/ — scripts within are run daily by cron
- /etc/cron.deny — list of users for which cron is denyed
- /etc/cron.allow — list of users for which cron is allowed
- /etc/cron.hourly/ — scripts within are run hourly by cron
- /etc/cron.monthly/ — scripts within are run monthly by cron
- /etc/cron.weekly/ — scripts within are run weekly by cron
- /etc/crontab — general config for cron
- /etc/cups/ — config dir for CUPS printer server
- /etc/dbus-1/ — dir for dbus config files
- /etc/default/ — dir for dbus config files like adduser
- /etc/dhcpcd.conf
- /etc/dispatch-conf.conf
- /etc/e2fsck.conf — config for fschk for ext2 and ext3 filesystems
- /etc/env.d/ — dir for environment variables in Gentoo and other distributions
- /etc/environment — environment variables [1]
- /etc/exports — file systems are exported to remote hosts [2]
- /etc/filesystems — defines the filesystems search order used by mount -t auto
- /etc/fonts/ — config dir for fontconfig
- /etc/fstab — mount points
- /etc/gconf/ — dir for Gnome based applications [3]
- /etc/gpm/ — console mouse
- /etc/group — groups and the users within them
- /etc/group- — (do not edit)
- /etc/gshadow — Secure group account information
- /etc/gshadow- — (do not edit)
- /etc/host.conf — specifies how host names on a network are resolved [4]
- /etc/hosts — associates IP addresses with hostnames
- /etc/init.d/ or /etc/rc.d/init.d/ — dir for init scripts
- /etc/inittab — describes which processes are started at bootup [5]
- /etc/inputrc — keyboard mapping for bash and most other shells
- /etc/issue — message displayed before console or ssh logins [6]
- /etc/kernel/ — dir for scripts such as post-installation of the Linux kernel
- /etc/ld.so.cache — (do not edit)
- /etc/ld.so.conf — library path
- /etc/ld.so.conf.d/ — dir for config files that include library paths
- /etc/local.d/ — scripts run by «local» init script
- /etc/locale.gen — lists the locales used
- /etc/localtime — symbolic link to a timezone file
- /etc/login.defs — config for the shadow package [7]
- /etc/machine-id — unique machine id set during installation [8]
- /etc/mail/ — dir of config files for mail system
- /etc/mailcap — describs how mime-types should be displayed [9]
- /etc/make.conf
- /etc/man.conf — config for man
- /etc/mime.types — (do not edit)
- /etc/mke2fs.conf
- /etc/modprobe.d/
- /etc/mtab (do not edit)
- /etc/netconfig
- /etc/networks
- /etc/nscd.conf
- /etc/nsswitch.conf
- /etc/pam.d/
- /etc/papersize
- /etc/passwd
- /etc/passwd- (do not edit)
- /etc/profile
- /etc/profile.d/
- /etc/profile.env
- /etc/protocols — list of network protocols (do not edit) [10]
- /etc/rc.conf
- /etc/resolv.conf
- /etc/rpc — RPC program number database (do not edit)
- /etc/runlevels/
- /etc/securetty
- /etc/security/
- /etc/services
- /etc/shadow — (do not edit)
- /etc/shadow- — (do not edit)
- /etc/shells
- /etc/skel/
- /etc/sound/
- /etc/ssh/
- /etc/ssl/
- /etc/sudoers — config for sudo
- /etc/sudoers.d/
- /etc/sysctl.conf
- /etc/sysstat
- /etc/sysstat.ioconf
- /etc/terminfo/
- /etc/timezone
- /etc/udev/
- /etc/unixODBC/
- /etc/updatedb.conf
- /etc/xdg/
- /etc/xinetd.d/
Users and Groups
Users: /etc/passwd
/etc/passwd is the user authentication database, it contains a list of users and their associated internal user id numbers. Historically it also included passwords, however as this file needs to world readable (so all programs can use it to convert between username and user id) it is no longer considered secure to keep passwords in this file.
An entry in this file is of the form:
It has seven sections which going from left to right are,
- (alice) The username.
- (*) The password in a hashed form. In modern systems a star indicates shadowing is in use and hence the password can be found in /etc/shadow/.
- (134) The unique id assigned to the user. Some unique ids have special purposes. For example, the user id 0 is used for the root user.
- (20) The group that the user is assigned to upon login.
- (Alice Monkey) The GCOS field can be used for anything or left blank. Normally used for personal information abou the user such as full name.
- (/home/alice/) The home directory of the user.
- (/bin/bash) The users default shell.
Groups: /etc/group
/etc/group stores the definitive list of the users groups and their members.
A typical entry is:
It has four sections which going from left to right are,
- (root) The group name.
- () The group password in a hashed form. Normally not used.
- (0) The unique id assigned to the group. Group ids below 10 are reserved for system use. Some unixs such as HP-UX reserve other groups numbers as well.
- (root,alice) The list of users who are members of that group.
Boot Up Settings
- Boot file sequence in the order they are accessed or executed
- boot loader (grub/lilo)
- linux kernel
- /etc/inittab
- /etc/rc.sysinit
- init scripts
- Login or X windows
- /etc/inittab — runs different programs and processes on startup. This is typically the program which is responsible for, among other things, setting the default runlevel, running the rc.sysinit script contained in /etc/rc.d, setting up virtual login terminals, bringing down the system in an orderly fashion in response to [Ctrl][Alt][Del], running the rc script in /etc/rc.d, and running xdm for a graphical login prompt (only if the default runlevel is set for a graphical login).
- /etc/lilo.conf — configuration file for lilo boot loader
- Grub (legacy)
- /boot/grub/grub.conf
- Grub2
- /boot/grub/grub.cfg — Menu information
- /etc/default/grub — Basic configs
- /etc/grub.d/ — scripts in this directory are read during execution of the update-grub command and their instructions are incorporated into /boot/grub/grub.cfg.
- References: [11]
Package Managers
portage
- /etc/make.conf
- /etc/make.profile
- /etc/portage/package.keywords
- /etc/portage/package.use
- /etc/portage/package.mask
- /etc/portage/package.unmask
- /etc/portage/package.accept_keywords
- /etc/portage/rsync_excludes
- /etc/portage/package.env
- /etc/portage/env/debug-cflags
- /etc/portage/postsync.d/
Paludis
- /etc/paludis/general.conf
- /etc/paludis/keywords.conf (Gentoo) or /etc/paludis/platforms.conf (Exherbo)
- /etc/paludis/use.conf (Gentoo) or /etc/paludis/options.conf (Exherbo)
- /etc/paludis/licenses.conf (Gentoo) or /etc/paludis/licences.conf (Exherbo)
- /etc/paludis/bashrc
- /etc/paludis/repositories/gentoo.conf (Gentoo)
- /etc/paludis/repositories/installed.conf
- /etc/paludis/repositories/paludis-overlay.conf
- /etc/paludis/repositories/layman.conf
- /etc/paludis/repositories/repository.conf
- /etc/paludis/repositories/arbor.conf (Exherbo)
- /etc/paludis/repositories/unavailable.conf (Exherbo)
Reference : [13]
pacman
- /etc/apt/apt.conf
- /etc/apt/apt.conf.d/ Reference : [14]
- /etc/apt/sources.list
- /etc/apt/sources.list.d/ Reference : [15]
- /etc/apt/vendors.list Reference : [16]
- /etc/yum.conf
- /etc/yum.repos.d/
- /etc/yum/pluginconf.d/
- /etc/yum/protected.d
- /etc/yum/vars Reference : [17]
- /etc/yum/yum-updatesd.conf Reference : [18]
- /usr/lib/rpm/rpmrc
- /usr/lib/rpm/redhat/rpmrc
- /etc/rpmrc
/.rpmrc
- /usr/lib/rpm/macros
- /usr/lib/rpm/redhat/macros
- /etc/rpm/macros
/.rpmmacros
Reference : [19]
- /etc/sysconfig/rhn/sources
Smart Package Manager
Libraries
- Library Path
- /etc/ld.so.conf after editing, execute ‘/sbin/ldconfig’ to refresh the library cache
Environment Variables
- Generally environment variables are set in the shell start up scripts
- Guide to environment variables
- Howto set environment variables
Networking
- /etc/hosts — contains a list of host names and absolute IP addresses .
- /etc/hosts.allow — hosts allowed (by the tcpd daemon) to access Internet services
- /etc/hosts.deny — hosts forbidden (by the tcpd daemon) to access Internet services
- /etc/resolv.conf — contains a list of domain name servers used by the local machine
- /etc/hostname — stores the name of the host computer
Howto setup a network in linux
Servers
Config file for various Linux daemons. Included is Apache, Lighttpd, OpenSSHD, Samba, ProFTPd, MySQL, PostgreSQL, OpenNTPD, vsftpd, WU-FTPd, DNS BIND, NSD pdnsd
System
Setting System/Hardware Clock
- Symbolic link to timezone
- /etc/localtime
- UTC or local time zone
- Howto Set the computers clock in unix
- Howto set the computers timezone
Hard/USB/floppy/CDROM/Network Drive Mounts
- /etc/fstab — Links devices to mount points
- Howto edit fstab
Locale
/.dmrc — Gnome language encoding config Reference: [22]
locate/slocate/mlocate
Kernel
- /usr/src/linux/.config — the kernel’s config file that is used to compile
Kernel Modules
- /etc/modules.conf
- /etc/modprobe.conf or /etc/modprobe.d/modprobe.conf
- /etc/crontab — shell script to run different commands periodically (hourly, daily, weekly, monthly, etc.)
- /etc/cron.deny — deny user the ability run crontab
- /etc/cron.d/
- /etc/cron.hourly/
- /etc/cron.daily/
- /etc/cron.weekly/
- /etc/cron.monthly/
mdadm (RAID)
- /etc/mdadm/mdadm.conf or /etc/mdadm.conf
References: [23]
mkinitcpio (RAM disk init)
syslog
- syslogd
- /etc/syslog.conf References: [25]
- syslog-ng
- /etc/syslog-ng/syslog-ng.conf References: [26]
- /etc/dbus-1/system.conf
- /etc/dbus-1/system.d/
- /etc/dbus-1/session.conf
- /etc/dbus-1/session.d/ References: [28]
- /etc/udev/* — udev config files
- /etc/dev.d/* — programs invoked by udev References: [29]
logrotate
- /etc/logrotate.conf
- /etc/logrotate.d/ References: [30]
- /etc/at.deny
- /etc/at.allow References: [31]
- /etc/pam.conf — the configuration file
- /etc/pam.d — the Linux-PAM configuration directory. Generally, if this directory is present, the /etc/pam.conf file is ignored. References: [32]
Applications
Shells
- /etc/DIR_COLORS — used to store colors for different file types when using ls command. The dircolors command uses this file when there is not a .dir_colors file in the user’s home directory. Used in conjunction with the eval command (see below).
- /etc/motd — message of the day file, printed immediately after login. This is often overwritten by /etc/rc.d/rc.S (Slackware) or /etc/rc.d/rc.local (Mandrake/Red Hat) on startup. See the remarks in connection with /etc/issue.
- /etc/issue — pre-login message. This is often overwitten by the /etc/rc.d/rc.S script (in Slackware ) or by the /etc/rc.d/rc.local script (in Mandrake and Red Hat , and perhaps other rpm-based distributions). The relevant lines should be commented out (or changed) in these scripts if a custom pre-login message is desired.
- /etc/bashrc
- /etc/profile
- /etc/bashrc
- /etc/bash/bashrc
- /etc/bash/bash_profile
- /etc/bash/bash_login
- /etc/bash/bash_logout
/.profile
- /etc/profile contains the system default settings for users who login using the Bourne shell, «/bin/sh». When these users login, the Bourne shell runs the commands in this file before giving the shell prompt to the user. Most of these commands are variable assignments which configure the behavior of the shell.
/.bash_logout — file executed by bash shell on logout
/.bash_profile — initialization of bash shell run only on login. Bash looks first for a .bash_profile file when started as a login shell or with the -login option. If it does not find .bash_profile, it looks for .bash_login. If it doesn’t find that, it looks for .profile. System-wide functions and aliases go in /etc/bashrc and default environment variables go in /etc/profile.
/.bashrc — initialization command run when bash shell starts up as a non-login shell
- /etc/inputrc
Examples: http://dotfiles.org/.bash_profile Examples: http://dotfiles.org/.bashrc
- profile.csh
- csh.login
- csh.envc
- sh.cshrc
- /etc/cshrc
zshell (zsh)
- Order they are loaded: /etc/zshenv then
/.zshenv, if login shell /etc/zprofile then
/.zprofile, if interactive shell /etc/zshrc then
Источник